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 Plans 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)


1440
1441
1442
1443
1444
1445
1446
1447
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 1440

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

#attribute_valuesArray<String>

The values of the line item filter. This specifies the values to filter on.

Returns:

  • (Array<String>)


1440
1441
1442
1443
1444
1445
1446
1447
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 1440

class LineItemFilter < Struct.new(
  :attribute,
  :match_option,
  :values,
  :attribute_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)


1440
1441
1442
1443
1444
1445
1446
1447
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 1440

class LineItemFilter < Struct.new(
  :attribute,
  :match_option,
  :values,
  :attribute_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 Plans discounts.

Returns:

  • (Array<String>)


1440
1441
1442
1443
1444
1445
1446
1447
# File 'gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/types.rb', line 1440

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