Resource: awsCeCostCategory
Provides details about a specific CostExplorer Cost Category.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsCeCostCategory.DataAwsCeCostCategory(this, "example", {
costCategoryArn: "costCategoryARN",
});
Argument Reference
The following arguments are required:
costCategoryArn
- (Required) Unique name for the Cost Category.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- ARN of the cost category.defaultValue
- Default value for the cost category.effectiveEnd
- Effective end data of your Cost Category.effectiveStart
- Effective state data of your Cost Category.id
- Unique ID of the cost category.rule
- Configuration block for the Cost Category rules used to categorize costs. See below.ruleVersion
- Rule schema version in this particular Cost Category.splitChargeRule
- Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.tags
- Resource tags.
rule
inheritedValue
- Configuration block for the value the line item is categorized as if the line item contains the matched dimension. See below.rule
- Configuration block for theexpression
object used to categorize costs. See below.type
- You can define the CostCategoryRule rule type as eitherregular
orINHERITED_VALUE
.value
- Default value for the cost category.
inheritedValue
dimensionKey
- Key to extract cost category values.dimensionName
- Name of the dimension that's used to group costs. If you specifyLINKED_ACCOUNT_NAME
, the cost category value is based on account name. If you specifytag
, the cost category value will be based on the value of the specified tag key. Valid values areLINKED_ACCOUNT_NAME
,tag
rule
and
- Return results that match bothdimension
objects.costCategory
- Configuration block for the filter that's based oncostCategory
values. See below.dimension
- Configuration block for the specificdimension
to use forexpression
. See below.not
- Return results that do not match thedimension
object.or
- Return results that match eitherdimension
object.tags
- Configuration block for the specifictag
to use forexpression
. See below.
costCategory
key
- Unique name of the Cost Category.matchOptions
- Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions isequals
andCASE_SENSITIVE
. Valid values are:equals
,absent
,STARTS_WITH
,ENDS_WITH
,contains
,CASE_SENSITIVE
,CASE_INSENSITIVE
.values
- Specific value of the Cost Category.
dimension
key
- Unique name of the Cost Category.matchOptions
- Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions isequals
andCASE_SENSITIVE
. Valid values are:equals
,absent
,STARTS_WITH
,ENDS_WITH
,contains
,CASE_SENSITIVE
,CASE_INSENSITIVE
.values
- Specific value of the Cost Category.
tags
key
- Key for the tag.matchOptions
- Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions isequals
andCASE_SENSITIVE
. Valid values are:equals
,absent
,STARTS_WITH
,ENDS_WITH
,contains
,CASE_SENSITIVE
,CASE_INSENSITIVE
.values
- Specific value of the Cost Category.
splitChargeRule
method
- Method that's used to define how to split your source costs across your targets. Valid values arefixed
,proportional
,even
parameter
- Configuration block for the parameters for a split charge method. This is only required for thefixed
method. See below.source
- Cost Category value that you want to split.targets
- Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.
parameter
type
- Parameter type.values
- Parameter values.