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 Plan 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") .values(List.of("values")) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCustomLineItem.LineItemFilterProperty
static final class
An implementation forCfnCustomLineItem.LineItemFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The attribute of the line item filter.The match criteria of the line item filter.The values of the line item filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttribute
The attribute of the line item filter.This specifies what attribute that you can filter on.
- See Also:
-
getMatchOption
The match criteria of the line item filter.This parameter specifies whether not to include the resource value from the billing group total cost.
- See Also:
-
getValues
The values of the line item filter.This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.
- See Also:
-
builder
-