Class CfnCustomLineItemPropsMixin.LineItemFilterProperty
A representation of the line item filter for your custom line item.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCustomLineItemPropsMixin.LineItemFilterProperty : CfnCustomLineItemPropsMixin.ILineItemFilterProperty
Syntax (vb)
Public Class CfnCustomLineItemPropsMixin.LineItemFilterProperty Implements CfnCustomLineItemPropsMixin.ILineItemFilterProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins;
var lineItemFilterProperty = new LineItemFilterProperty {
Attribute = "attribute",
AttributeValues = new [] { "attributeValues" },
MatchOption = "matchOption",
Values = new [] { "values" }
};
Synopsis
Constructors
| LineItemFilterProperty() | A representation of the line item filter for your custom line item. |
Properties
| Attribute | The attribute of the line item filter. |
| AttributeValues | The values of the line item filter. |
| MatchOption | The match criteria of the line item filter. |
| Values | The values of the line item filter. |
Constructors
LineItemFilterProperty()
A representation of the line item filter for your custom line item.
public LineItemFilterProperty()
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins;
var lineItemFilterProperty = new LineItemFilterProperty {
Attribute = "attribute",
AttributeValues = new [] { "attributeValues" },
MatchOption = "matchOption",
Values = new [] { "values" }
};
Properties
Attribute
The attribute of the line item filter.
public string? Attribute { get; set; }
Property Value
Remarks
This specifies what attribute that you can filter on.
AttributeValues
The values of the line item filter.
public string[]? AttributeValues { get; set; }
Property Value
string[]
Remarks
MatchOption
The match criteria of the line item filter.
public string? MatchOption { get; set; }
Property Value
Remarks
This parameter specifies whether not to include the resource value from the billing group total cost.
Values
The values of the line item filter.
public string[]? Values { get; set; }
Property Value
string[]
Remarks
This specifies the values to filter on. Currently, you can only exclude Savings Plans discounts.