interface CustomLineItemChargeDetailsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.BillingConductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbillingconductor#CfnCustomLineItem_CustomLineItemChargeDetailsProperty |
![]() | software.amazon.awscdk.services.billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
![]() | aws_cdk.aws_billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty |
![]() | aws-cdk-lib » 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 { aws_billingconductor as billingconductor } from 'aws-cdk-lib';
const customLineItemChargeDetailsProperty: billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty = {
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'],
},
};
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. |
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
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.