Class CfnCostCategory.ResourceTagProperty
The tag structure that contains a tag key and value.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCostCategory.ResourceTagProperty : CfnCostCategory.IResourceTagProperty
Syntax (vb)
Public Class CfnCostCategory.ResourceTagProperty Implements CfnCostCategory.IResourceTagProperty
Remarks
Tagging is supported only for the following Cost Explorer resource types: <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html"><code>AnomalyMonitor</code></a> , <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html"><code>AnomalySubscription</code></a> , <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html"><code>CostCategory</code></a> .
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 resourceTagProperty = new ResourceTagProperty {
Key = "key",
Value = "value"
};
Synopsis
Constructors
| ResourceTagProperty() | The tag structure that contains a tag key and value. |
Properties
| Key | The key that's associated with the tag. |
| Value | The value that's associated with the tag. |
Constructors
ResourceTagProperty()
The tag structure that contains a tag key and value.
public ResourceTagProperty()
Remarks
Tagging is supported only for the following Cost Explorer resource types: <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html"><code>AnomalyMonitor</code></a> , <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html"><code>AnomalySubscription</code></a> , <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html"><code>CostCategory</code></a> .
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 resourceTagProperty = new ResourceTagProperty {
Key = "key",
Value = "value"
};
Properties
Key
The key that's associated with the tag.
public string Key { get; set; }
Property Value
Remarks
Value
The value that's associated with the tag.
public string Value { get; set; }