cost_categories_list_only
Lists cost_categories
in a region or regions, for all properties use cost_categories
Overview
Name | cost_categories_list_only |
Type | Resource |
Description | Cost 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. |
Id | aws.ce.cost_categories_list_only |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | Cost category ARN |
effective_start | string | ISO 8601 date time with offset format |
name | string | |
rule_version | string | |
rules | string | JSON array format of Expression in Billing and Cost Management API |
split_charge_rules | string | Json array format of CostCategorySplitChargeRule in Billing and Cost Management API |
default_value | string | The default value for the cost category |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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