interface LineItemFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins.CfnCustomLineItemPropsMixin.LineItemFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbillingconductor/mixins#CfnCustomLineItemPropsMixin_LineItemFilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.billingconductor.mixins.CfnCustomLineItemPropsMixin.LineItemFilterProperty |
Python | aws_cdk.mixins_preview.aws_billingconductor.mixins.CfnCustomLineItemPropsMixin.LineItemFilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_billingconductor » mixins » CfnCustomLineItemPropsMixin » LineItemFilterProperty |
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 { mixins as billingconductor_mixins } from '@aws-cdk/mixins-preview/aws-billingconductor';
const lineItemFilterProperty: billingconductor_mixins.CfnCustomLineItemPropsMixin.LineItemFilterProperty = {
attribute: 'attribute',
attributeValues: ['attributeValues'],
matchOption: 'matchOption',
values: ['values'],
};
Properties
| Name | Type | Description |
|---|---|---|
| attribute? | string | The attribute of the line item filter. |
| attribute | string[] | The values of the line item filter. |
| match | string | The match criteria of the line item filter. |
| values? | string[] | The values of the line item filter. |
attribute?
Type:
string
(optional)
The attribute of the line item filter.
This specifies what attribute that you can filter on.
attributeValues?
Type:
string[]
(optional)
The values of the line item filter.
This specifies the values to filter on.
matchOption?
Type:
string
(optional)
The match criteria of the line item filter.
This parameter specifies whether not to include the resource value from the billing group total cost.
values?
Type:
string[]
(optional)
The values of the line item filter.
This specifies the values to filter on. Currently, you can only exclude Savings Plans discounts.

.NET
Go
Java
Python
TypeScript