interface CustomLineItemChargeDetailsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BillingConductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
Java | software.amazon.awscdk.services.billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
Python | aws_cdk.aws_billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
TypeScript | @aws-cdk/aws-billingconductor » CfnCustomLineItem » 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 * as billingconductor from '@aws-cdk/aws-billingconductor';
const customLineItemChargeDetailsProperty: billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty = {
type: 'type',
// the properties below are optional
flat: {
chargeValue: 123,
},
percentage: {
percentageValue: 123,
// the properties below are optional
childAssociatedResources: ['childAssociatedResources'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| type | string | The type of the custom line item that indicates whether the charge is a fee or credit. |
| flat? | IResolvable | Custom | A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
| percentage? | IResolvable | Custom | A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item. |
type
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.
percentage?
Type:
IResolvable | Custom
(optional)
A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.

.NET
Java
Python
TypeScript