Class: Aws::CostExplorer::Types::CostCategoryInheritedValueDimension

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-costexplorer/types.rb

Overview

When you create or update a cost category, you can define the ‘CostCategoryRule` rule type as `INHERITED_VALUE`. This rule type adds the flexibility to define a rule that dynamically inherits the cost category value from the dimension value that’s defined by ‘CostCategoryInheritedValueDimension`. For example, suppose that you want to dynamically group costs that are based on the value of a specific tag key. First, choose an inherited value rule type, and then choose the tag dimension and specify the tag key to use.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_keyString

The key to extract cost category values.

Returns:

  • (String)


595
596
597
598
599
600
# File 'lib/aws-sdk-costexplorer/types.rb', line 595

class CostCategoryInheritedValueDimension < Struct.new(
  :dimension_name,
  :dimension_key)
  SENSITIVE = []
  include Aws::Structure
end

#dimension_nameString

The name of the dimension that’s used to group costs.

If you specify ‘LINKED_ACCOUNT_NAME`, the cost category value is based on account name. If you specify `TAG`, the cost category value is based on the value of the specified tag key.

Returns:

  • (String)


595
596
597
598
599
600
# File 'lib/aws-sdk-costexplorer/types.rb', line 595

class CostCategoryInheritedValueDimension < Struct.new(
  :dimension_name,
  :dimension_key)
  SENSITIVE = []
  include Aws::Structure
end