Class: Aws::BillingConductor::Types::LineItemFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributeString

The attribute of the line item filter. This specifies what attribute that you can filter on.

Returns:

  • (String)


1416
1417
1418
1419
1420
1421
1422
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 1416

class LineItemFilter < Struct.new(
  :attribute,
  :match_option,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#match_optionString

The match criteria of the line item filter. This parameter specifies whether not to include the resource value from the billing group total cost.

Returns:

  • (String)


1416
1417
1418
1419
1420
1421
1422
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 1416

class LineItemFilter < Struct.new(
  :attribute,
  :match_option,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.

Returns:

  • (Array<String>)


1416
1417
1418
1419
1420
1421
1422
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 1416

class LineItemFilter < Struct.new(
  :attribute,
  :match_option,
  :values)
  SENSITIVE = []
  include Aws::Structure
end