aws-cdk-lib.aws_billingconductor.CfnCustomLineItemProps

interface CfnCustomLineItemProps

LanguageType name
.NETAmazon.CDK.AWS.BillingConductor.CfnCustomLineItemProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbillingconductor#CfnCustomLineItemProps
Javasoftware.amazon.awscdk.services.billingconductor.CfnCustomLineItemProps
Pythonaws_cdk.aws_billingconductor.CfnCustomLineItemProps
TypeScript aws-cdk-lib » aws_billingconductor » CfnCustomLineItemProps

Properties for defining a CfnCustomLineItem.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_billingconductor as billingconductor } from 'aws-cdk-lib';
const cfnCustomLineItemProps: billingconductor.CfnCustomLineItemProps = {
  billingGroupArn: 'billingGroupArn',
  name: 'name',

  // the properties below are optional
  billingPeriodRange: {
    exclusiveEndBillingPeriod: 'exclusiveEndBillingPeriod',
    inclusiveStartBillingPeriod: 'inclusiveStartBillingPeriod',
  },
  customLineItemChargeDetails: {
    type: 'type',

    // the properties below are optional
    flat: {
      chargeValue: 123,
    },
    percentage: {
      percentageValue: 123,

      // the properties below are optional
      childAssociatedResources: ['childAssociatedResources'],
    },
  },
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
billingGroupArnstringThe Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
namestringThe custom line item's name.
billingPeriodRange?IResolvable | BillingPeriodRangePropertyA time range for which the custom line item is effective.
customLineItemChargeDetails?IResolvable | CustomLineItemChargeDetailsPropertyThe charge details of a custom line item.
description?stringThe custom line item's description.
tags?CfnTag[]A map that contains tag keys and tag values that are attached to a custom line item.

billingGroupArn

Type: string

The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.


name

Type: string

The custom line item's name.


billingPeriodRange?

Type: IResolvable | BillingPeriodRangeProperty (optional)

A time range for which the custom line item is effective.


customLineItemChargeDetails?

Type: IResolvable | CustomLineItemChargeDetailsProperty (optional)

The charge details of a custom line item.

It should contain only one of Flat or Percentage .


description?

Type: string (optional)

The custom line item's description.

This is shown on the Bills page in association with the charge value.


tags?

Type: CfnTag[] (optional)

A map that contains tag keys and tag values that are attached to a custom line item.