AWS::CE::CostCategoryThe `AWS::CE::CostCategory` resource creates groupings of cost that you can use across products in the Billing and Cost Management console, such as Cost Explorer and AWS Budgets. For more information, see [Managing Your Costs with Cost Categories](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html) in the *Billing and Cost Management User Guide* .
import { CfnCostCategory } from 'aws-cdk-lib/aws-ce';Or use the module namespace:
import * as ce from 'aws-cdk-lib/aws-ce';
// ce.CfnCostCategoryConfiguration passed to the constructor as CfnCostCategoryProps.
nameRequiredstringThe unique name of the Cost Category.
rulesRequiredstringThe array of CostCategoryRule in JSON array format. > Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
ruleVersionRequiredstringThe rule schema version in this particular Cost Category.
defaultValueOptionalstringThe default value for the cost category.
splitChargeRulesOptionalstringThe split charge rules that are used to allocate your charges between your cost category values.
tagsOptionalResourceTagProperty[]Tags to assign to the cost category.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-ceAWS::CE::CostCategory