Class CfnCostCategoryProps
Properties for defining a CfnCostCategory.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCostCategoryProps : ICfnCostCategoryProps
Syntax (vb)
Public Class CfnCostCategoryProps Implements ICfnCostCategoryProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CE;
var cfnCostCategoryProps = new CfnCostCategoryProps {
Name = "name",
Rules = "rules",
RuleVersion = "ruleVersion",
// the properties below are optional
DefaultValue = "defaultValue",
SplitChargeRules = "splitChargeRules",
Tags = new [] { new ResourceTagProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnCostCategoryProps() | Properties for defining a |
Properties
| DefaultValue | The default value for the cost category. |
| Name | The unique name of the Cost Category. |
| RuleVersion | The rule schema version in this particular Cost Category. |
| Rules | The array of CostCategoryRule in JSON array format. |
| SplitChargeRules | The split charge rules that are used to allocate your charges between your Cost Category values. |
| Tags | Tags to assign to the cost category. |
Constructors
CfnCostCategoryProps()
Properties for defining a CfnCostCategory.
public CfnCostCategoryProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CE;
var cfnCostCategoryProps = new CfnCostCategoryProps {
Name = "name",
Rules = "rules",
RuleVersion = "ruleVersion",
// the properties below are optional
DefaultValue = "defaultValue",
SplitChargeRules = "splitChargeRules",
Tags = new [] { new ResourceTagProperty {
Key = "key",
Value = "value"
} }
};
Properties
DefaultValue
The default value for the cost category.
public string? DefaultValue { get; set; }
Property Value
Remarks
Name
The unique name of the Cost Category.
public string Name { get; set; }
Property Value
Remarks
RuleVersion
The rule schema version in this particular Cost Category.
public string RuleVersion { get; set; }
Property Value
Remarks
Rules
The array of CostCategoryRule in JSON array format.
public string Rules { get; set; }
Property Value
Remarks
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.
SplitChargeRules
The split charge rules that are used to allocate your charges between your Cost Category values.
public string? SplitChargeRules { get; set; }
Property Value
Remarks
Tags
Tags to assign to the cost category.
public CfnCostCategory.IResourceTagProperty[]? Tags { get; set; }