aws-cdk-lib.aws_ce.CfnAnomalySubscription.ResourceTagProperty

interface ResourceTagProperty

LanguageType name
.NETAmazon.CDK.AWS.CE.CfnAnomalySubscription.ResourceTagProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsce#CfnAnomalySubscription_ResourceTagProperty
Javasoftware.amazon.awscdk.services.ce.CfnAnomalySubscription.ResourceTagProperty
Pythonaws_cdk.aws_ce.CfnAnomalySubscription.ResourceTagProperty
TypeScript aws-cdk-lib » aws_ce » CfnAnomalySubscription » ResourceTagProperty

The tag structure that contains a tag key and value.

Tagging is supported only for the following Cost Explorer resource types: AnomalyMonitor , AnomalySubscription , CostCategory .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ce as ce } from 'aws-cdk-lib';
const resourceTagProperty: ce.CfnAnomalySubscription.ResourceTagProperty = {
  key: 'key',
  value: 'value',
};

Properties

NameTypeDescription
keystringThe key that's associated with the tag.
valuestringThe value that's associated with the tag.

key

Type: string

The key that's associated with the tag.


value

Type: string

The value that's associated with the tag.