Interface CfnCustomLineItem.CustomLineItemChargeDetailsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCustomLineItem.CustomLineItemChargeDetailsProperty.Jsii$Proxy
Enclosing class:
CfnCustomLineItem

@Stability(Stable) public static interface CfnCustomLineItem.CustomLineItemChargeDetailsProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.billingconductor.*;
 CustomLineItemChargeDetailsProperty customLineItemChargeDetailsProperty = CustomLineItemChargeDetailsProperty.builder()
         .type("type")
         // the properties below are optional
         .flat(CustomLineItemFlatChargeDetailsProperty.builder()
                 .chargeValue(123)
                 .build())
         .lineItemFilters(List.of(LineItemFilterProperty.builder()
                 .attribute("attribute")
                 .matchOption("matchOption")
                 .values(List.of("values"))
                 .build()))
         .percentage(CustomLineItemPercentageChargeDetailsProperty.builder()
                 .percentageValue(123)
                 // the properties below are optional
                 .childAssociatedResources(List.of("childAssociatedResources"))
                 .build())
         .build();
 

See Also: