Interface CfnCustomLineItem.LineItemFilterProperty

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

@Stability(Stable) public static interface CfnCustomLineItem.LineItemFilterProperty extends software.amazon.jsii.JsiiSerializable
A representation of the line item filter for your custom line item.

You can use line item filters to include or exclude specific resource values from the billing group's total cost. For example, if you create a custom line item and you want to filter out a value, such as Savings Plans discounts, you can update LineItemFilter to exclude it.

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.*;
 LineItemFilterProperty lineItemFilterProperty = LineItemFilterProperty.builder()
         .attribute("attribute")
         .matchOption("matchOption")
         // the properties below are optional
         .attributeValues(List.of("attributeValues"))
         .values(List.of("values"))
         .build();
 

See Also: