Show / Hide Table of Contents

Class CfnCustomLineItemPropsMixin.LineItemFilterProperty

A representation of the line item filter for your custom line item.

Inheritance
object
CfnCustomLineItemPropsMixin.LineItemFilterProperty
Implements
CfnCustomLineItemPropsMixin.ILineItemFilterProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html

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

string

Remarks

This specifies what attribute that you can filter on.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html#cfn-billingconductor-customlineitem-lineitemfilter-attribute

AttributeValues

The values of the line item filter.

public string[]? AttributeValues { get; set; }
Property Value

string[]

Remarks

This specifies the values to filter on.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html#cfn-billingconductor-customlineitem-lineitemfilter-attributevalues

MatchOption

The match criteria of the line item filter.

public string? MatchOption { get; set; }
Property Value

string

Remarks

This parameter specifies whether not to include the resource value from the billing group total cost.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html#cfn-billingconductor-customlineitem-lineitemfilter-matchoption

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html#cfn-billingconductor-customlineitem-lineitemfilter-values

Implements

CfnCustomLineItemPropsMixin.ILineItemFilterProperty
Back to top Generated by DocFX