AWS Fundamentals Logo
AWS Fundamentals
AWS::CE::CostCategory

CE CostCategory

Resource Type definition for AWS::CE::CostCategory. 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.

Properties

6 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
RequiredCreate-only
Rules
string
Required
RuleVersion
string
Required
DefaultValue
string
SplitChargeRules
string
Tags
Array<ResourceTag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringCost category ARN
EffectiveStartstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CE::CostCategory

Resources:
  MyResource:
    Type: AWS::CE::CostCategory
    Properties:
      Name: "my-name"
      RuleVersion: "CostCategoryExpression.v1"
      Rules: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ce:CreateCostCategoryDefinitionce:TagResource

read

ce:DescribeCostCategoryDefinitionce:ListTagsForResource

update

ce:UpdateCostCategoryDefinitionce:TagResourcece:UntagResource

delete

ce:DeleteCostCategoryDefinition

list

ce:ListCostCategoryDefinitions

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceCE
Properties8
Required3
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Name

External Links