Class: Aws::CostExplorer::Types::CostCategoryInheritedValueDimension
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::CostCategoryInheritedValueDimension
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-costexplorer/types.rb
Overview
When making an API call, you may pass CostCategoryInheritedValueDimension data as a hash:
{
dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
dimension_key: "GenericString",
}
When creating or updating a cost category, you can define the ‘CostCategoryRule` rule type as `INHERITED_VALUE`. This rule type adds the flexibility of defining a rule that dynamically inherits the cost category value from the dimension value defined by `CostCategoryInheritedValueDimension`. For example, if you wanted to dynamically group costs based on the value of a specific tag key, you would first choose an inherited value rule type, then choose the tag dimension and specify the tag key to use.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#dimension_key ⇒ String
The key to extract cost category values.
-
#dimension_name ⇒ String
The name of dimension for which to group costs.
Instance Attribute Details
#dimension_key ⇒ String
The key to extract cost category values.
433 434 435 436 437 438 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 433 class CostCategoryInheritedValueDimension < Struct.new( :dimension_name, :dimension_key) SENSITIVE = [] include Aws::Structure end |
#dimension_name ⇒ String
The name of dimension for which to group costs.
If you specify ‘LINKED_ACCOUNT_NAME`, the cost category value will be based on account name. If you specify `TAG`, the cost category value will be based on the value of the specified tag key.
433 434 435 436 437 438 |
# File 'lib/aws-sdk-costexplorer/types.rb', line 433 class CostCategoryInheritedValueDimension < Struct.new( :dimension_name, :dimension_key) SENSITIVE = [] include Aws::Structure end |