Skip to main content

cost_categories_list_only

Lists cost_categories in a region or regions, for all properties use cost_categories

Overview

Namecost_categories_list_only
TypeResource
DescriptionCost Category enables you to map your cost and usage into meaningful categories. You can use Cost Category to organize your costs using a rule-based engine.
Idaws.ce.cost_categories_list_only

Fields

NameDatatypeDescription
arnstringCost category ARN
effective_startstringISO 8601 date time with offset format
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

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all cost_categories in a region.

SELECT
region,
arn
FROM aws.ce.cost_categories_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the cost_categories_list_only resource, see cost_categories