aws-cdk-lib.aws_billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty

interface CustomLineItemChargeDetailsProperty

LanguageType name
.NETAmazon.CDK.AWS.BillingConductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbillingconductor#CfnCustomLineItem_CustomLineItemChargeDetailsProperty
Javasoftware.amazon.awscdk.services.billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty
Pythonaws_cdk.aws_billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty
TypeScript 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,
  },
  percentage: {
    percentageValue: 123,

    // the properties below are optional
    childAssociatedResources: ['childAssociatedResources'],
  },
};

Properties

NameTypeDescription
typestringThe type of the custom line item that indicates whether the charge is a fee or credit.
flat?IResolvable | CustomLineItemFlatChargeDetailsPropertyA CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
percentage?IResolvable | CustomLineItemPercentageChargeDetailsPropertyA 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 | CustomLineItemFlatChargeDetailsProperty (optional)

A CustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.


percentage?

Type: IResolvable | CustomLineItemPercentageChargeDetailsProperty (optional)

A CustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom line item.