Skip to main content

cost_category

Gets an individual cost_category resource

Overview

Namecost_category
TypeResource
Descriptioncost_category
Idawscc.ce.cost_category

Fields

NameDatatypeDescription
arnstringCost category ARN
effective_startstring
namestring
rule_versionstring
rulesstringJSON array format of Expression in Billing and Cost Management API
split_charge_rulesstringJson array format of CostCategorySplitChargeRule in Billing and Cost Management API
default_valuestringThe default value for the cost category
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
effective_start,
name,
rule_version,
rules,
split_charge_rules,
default_value
FROM awscc.ce.cost_category
WHERE data__Identifier = '<Arn>';

Permissions

To operate on the cost_category resource, the following permissions are required:

Read

ce:DescribeCostCategoryDefinition

Update

ce:UpdateCostCategoryDefinition

Delete

ce:DeleteCostCategoryDefinition