interface CfnCustomLineItemMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins.CfnCustomLineItemMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbillingconductor/mixins#CfnCustomLineItemMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.billingconductor.mixins.CfnCustomLineItemMixinProps |
Python | aws_cdk.mixins_preview.aws_billingconductor.mixins.CfnCustomLineItemMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_billingconductor » mixins » CfnCustomLineItemMixinProps |
Properties for CfnCustomLineItemPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as billingconductor_mixins } from '@aws-cdk/mixins-preview/aws-billingconductor';
const cfnCustomLineItemMixinProps: billingconductor_mixins.CfnCustomLineItemMixinProps = {
accountId: 'accountId',
billingGroupArn: 'billingGroupArn',
billingPeriodRange: {
exclusiveEndBillingPeriod: 'exclusiveEndBillingPeriod',
inclusiveStartBillingPeriod: 'inclusiveStartBillingPeriod',
},
computationRule: 'computationRule',
customLineItemChargeDetails: {
flat: {
chargeValue: 123,
},
lineItemFilters: [{
attribute: 'attribute',
attributeValues: ['attributeValues'],
matchOption: 'matchOption',
values: ['values'],
}],
percentage: {
childAssociatedResources: ['childAssociatedResources'],
percentageValue: 123,
},
type: 'type',
},
description: 'description',
name: 'name',
presentationDetails: {
service: 'service',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string | The AWS account in which this custom line item will be applied to. |
| billing | string | The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to. |
| billing | IResolvable | Billing | A time range for which the custom line item is effective. |
| computation | string | The computation rule that determines how the custom line item charges are computed and reflected in the bill. |
| custom | IResolvable | Custom | The charge details of a custom line item. |
| description? | string | The custom line item's description. |
| name? | string | The custom line item's name. |
| presentation | IResolvable | Presentation | Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under. |
| tags? | Cfn[] | A map that contains tag keys and tag values that are attached to a custom line item. |
accountId?
Type:
string
(optional)
The AWS account in which this custom line item will be applied to.
billingGroupArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
billingPeriodRange?
Type:
IResolvable | Billing
(optional)
A time range for which the custom line item is effective.
computationRule?
Type:
string
(optional)
The computation rule that determines how the custom line item charges are computed and reflected in the bill.
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.
name?
Type:
string
(optional)
The custom line item's name.
presentationDetails?
Type:
IResolvable | Presentation
(optional)
Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.
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