class Aws::CostExplorer::Types::CostCategoryInheritedValueDimension
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 want to dynamically group costs that are based on the value of a specific tag key, first choose an inherited value rule type, then choose the tag dimension and specify the tag key to use.
@note 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", }
@!attribute [rw] dimension_name
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 will be based on the value of the specified tag key. @return [String]
@!attribute [rw] dimension_key
The key to extract cost category values. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryInheritedValueDimension AWS API Documentation
Constants
- SENSITIVE