interface CfnCustomLineItemProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BillingConductor.CfnCustomLineItemProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbillingconductor#CfnCustomLineItemProps |
Java | software.amazon.awscdk.services.billingconductor.CfnCustomLineItemProps |
Python | aws_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
accountId: 'accountId',
billingPeriodRange: {
exclusiveEndBillingPeriod: 'exclusiveEndBillingPeriod',
inclusiveStartBillingPeriod: 'inclusiveStartBillingPeriod',
},
computationRule: 'computationRule',
customLineItemChargeDetails: {
type: 'type',
// the properties below are optional
flat: {
chargeValue: 123,
},
lineItemFilters: [{
attribute: 'attribute',
matchOption: 'matchOption',
values: ['values'],
}],
percentage: {
percentageValue: 123,
// the properties below are optional
childAssociatedResources: ['childAssociatedResources'],
},
},
description: 'description',
presentationDetails: {
service: 'service',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| billing | string | The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to. |
| name | string | The custom line item's name. |
| account | string | The AWS account in which this custom line item will be applied to. |
| billing | IResolvable | Billing | A time range for which the custom line item is effective. |
| computation | string | The display settings of the Custom Line Item. |
| custom | IResolvable | Custom | The charge details of a custom line item. |
| description? | string | The custom line item's description. |
| presentation | IResolvable | Presentation | |
| tags? | Cfn[] | 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.
accountId?
Type:
string
(optional)
The AWS account in which this custom line item will be applied to.
billingPeriodRange?
Type:
IResolvable | Billing
(optional)
A time range for which the custom line item is effective.
computationRule?
Type:
string
(optional)
The display settings of the Custom Line Item.
customLineItemChargeDetails?
Type:
IResolvable | Custom
(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.
presentationDetails?
Type:
IResolvable | Presentation
(optional)
tags?
Type:
Cfn[]
(optional)
A map that contains tag keys and tag values that are attached to a custom line item.

.NET
Go
Java
Python
TypeScript