interface CustomLineItemChargeDetailsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins.CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbillingconductor/mixins#CfnCustomLineItemPropsMixin_CustomLineItemChargeDetailsProperty |
Java | software.amazon.awscdk.mixins.preview.services.billingconductor.mixins.CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty |
Python | aws_cdk.mixins_preview.aws_billingconductor.mixins.CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_billingconductor » mixins » CfnCustomLineItemPropsMixin » CustomLineItemChargeDetailsProperty |
The charge details of a custom line item.
It should contain only one of Flat or Percentage .
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 customLineItemChargeDetailsProperty: billingconductor_mixins.CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty = {
flat: {
chargeValue: 123,
},
lineItemFilters: [{
attribute: 'attribute',
attributeValues: ['attributeValues'],
matchOption: 'matchOption',
values: ['values'],
}],
percentage: {
childAssociatedResources: ['childAssociatedResources'],
percentageValue: 123,
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| flat? | IResolvable | Custom | A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
| line | IResolvable | (IResolvable | Line)[] | A representation of the line item filter. |
| percentage? | IResolvable | Custom | A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item. |
| type? | string | The type of the custom line item that indicates whether the charge is a fee or credit. |
flat?
Type:
IResolvable | Custom
(optional)
A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
lineItemFilters?
Type:
IResolvable | (IResolvable | Line)[]
(optional)
A representation of the line item filter.
percentage?
Type:
IResolvable | Custom
(optional)
A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.
type?
Type:
string
(optional)
The type of the custom line item that indicates whether the charge is a fee or credit.

.NET
Go
Java
Python
TypeScript