Show / Hide Table of Contents

Class CfnCostCategory

The 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.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnCostCategory
Implements
IInspectable
ICostCategoryRef
IConstruct
IDependable
IEnvironmentAware
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.CE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCostCategory : CfnResource, IInspectable, ICostCategoryRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnCostCategory Inherits CfnResource Implements IInspectable, ICostCategoryRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

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 cfnCostCategory = new CfnCostCategory(this, "MyCfnCostCategory", 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

CfnCostCategory(Construct, string, ICfnCostCategoryProps)

Create a new AWS::CE::CostCategory.

Properties

AttrArn

The unique identifier for your Cost Category.

AttrEffectiveStart

The Cost Category's effective start date.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CdkTagManager

Tag Manager which manages the tags for this resource.

CfnProperties

The 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.

CostCategoryRef

A reference to a CostCategory resource.

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.

Methods

ArnForCostCategory(ICostCategoryRef)

The 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.

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnCostCategory(object)

Checks whether the given object is a CfnCostCategory.

RenderProperties(IDictionary<string, object>)

The 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.

Constructors

CfnCostCategory(Construct, string, ICfnCostCategoryProps)

Create a new AWS::CE::CostCategory.

public CfnCostCategory(Construct scope, string id, ICfnCostCategoryProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnCostCategoryProps

Resource properties.

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

Properties

AttrArn

The unique identifier for your Cost Category.

public virtual string AttrArn { get; }
Property Value

string

Remarks

CloudformationAttribute: Arn

AttrEffectiveStart

The Cost Category's effective start date.

public virtual string AttrEffectiveStart { get; }
Property Value

string

Remarks

CloudformationAttribute: EffectiveStart

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

CdkTagManager

Tag Manager which manages the tags for this resource.

public virtual TagManager CdkTagManager { get; }
Property Value

TagManager

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

CfnProperties

The 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.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

CostCategoryRef

A reference to a CostCategory resource.

public virtual ICostCategoryReference CostCategoryRef { get; }
Property Value

ICostCategoryReference

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

DefaultValue

The default value for the cost category.

public virtual string? DefaultValue { get; set; }
Property Value

string

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

Name

The unique name of the Cost Category.

public virtual string Name { get; set; }
Property Value

string

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

RuleVersion

The rule schema version in this particular Cost Category.

public virtual string RuleVersion { get; set; }
Property Value

string

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

Rules

The array of CostCategoryRule in JSON array format.

public virtual string Rules { get; set; }
Property Value

string

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

SplitChargeRules

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

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

string

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

Tags

Tags to assign to the cost category.

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

IResourceTagProperty[]

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

Methods

ArnForCostCategory(ICostCategoryRef)

The 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.

public static string ArnForCostCategory(ICostCategoryRef resource)
Parameters
resource ICostCategoryRef
Returns

string

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

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 cfnCostCategory = new CfnCostCategory(this, "MyCfnCostCategory", 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"
                 } }
             });

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

IsCfnCostCategory(object)

Checks whether the given object is a CfnCostCategory.

public static bool IsCfnCostCategory(object x)
Parameters
x object
Returns

bool

Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

The 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.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

For more information, see Managing Your Costs with Cost Categories in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::CE::CostCategory

ExampleMetadata: fixture=_generated

Implements

IInspectable
ICostCategoryRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
ITaggableV2
Back to top Generated by DocFX