Show / Hide Table of Contents

Class CfnCostCategoryProps

Properties for defining a CfnCostCategory.

Inheritance
object
CfnCostCategoryProps
Implements
ICfnCostCategoryProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnCostCategory.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-defaultvalue

Name

The unique name of the Cost Category.

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-name

RuleVersion

The rule schema version in this particular Cost Category.

public string RuleVersion { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-ruleversion

Rules

The array of CostCategoryRule in JSON array format.

public string Rules { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-rules

SplitChargeRules

The split charge rules that are used to allocate your charges between your Cost Category values.

public string? SplitChargeRules { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-splitchargerules

Tags

Tags to assign to the cost category.

public CfnCostCategory.IResourceTagProperty[]? Tags { get; set; }
Property Value

IResourceTagProperty[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-tags

Implements

ICfnCostCategoryProps
Back to top Generated by DocFX