Class CfnCostCategoryProps
Properties for defining a CfnCostCategory
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCostCategoryProps : Object, ICfnCostCategoryProps
Syntax (vb)
Public Class CfnCostCategoryProps
Inherits Object
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"
};
Synopsis
Constructors
CfnCostCategoryProps() |
Properties
DefaultValue | The default value for the cost category. |
Name | The unique name of the Cost Category. |
Rules | The array of CostCategoryRule in JSON array format. |
RuleVersion | The rule schema version in this particular Cost Category. |
SplitChargeRules | The split charge rules that are used to allocate your charges between your Cost Category values. |
Constructors
CfnCostCategoryProps()
public CfnCostCategoryProps()
Properties
DefaultValue
The default value for the cost category.
public string DefaultValue { get; set; }
Property Value
System.String
Remarks
Name
The unique name of the Cost Category.
public string Name { get; set; }
Property Value
System.String
Remarks
Rules
The array of CostCategoryRule in JSON array format.
public string Rules { get; set; }
Property Value
System.String
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.
RuleVersion
The rule schema version in this particular Cost Category.
public string RuleVersion { get; set; }
Property Value
System.String
Remarks
SplitChargeRules
The split charge rules that are used to allocate your charges between your Cost Category values.
public string SplitChargeRules { get; set; }
Property Value
System.String