AWS::BillingConductor::CustomLineItem 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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Attribute" :
String
, "MatchOption" :String
, "Values" :[ String, ... ]
}
YAML
Attribute:
String
MatchOption:String
Values:- String
Properties
Attribute
-
The attribute of the line item filter. This specifies what attribute that you can filter on.
Required: Yes
Type: String
Allowed values:
LINE_ITEM_TYPE
Update requires: No interruption
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.
Required: Yes
Type: String
Allowed values:
NOT_EQUAL
Update requires: No interruption
Values
-
The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.
Required: Yes
Type: Array of String
Update requires: No interruption