LineItemFilter
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.
Contents
- Attribute
-
The attribute of the line item filter. This specifies what attribute that you can filter on.
Type: String
Valid Values:
LINE_ITEM_TYPE
Required: Yes
- MatchOption
-
The match criteria of the line item filter. This parameter specifies whether not to include the resource value from the billing group total cost.
Type: String
Valid Values:
NOT_EQUAL
Required: Yes
- Values
-
The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.
Type: Array of strings
Array Members: Fixed number of 1 item.
Valid Values:
SAVINGS_PLAN_NEGATION
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: