Skip to content
v2.273.0

ResourceTagProperty Struct ​

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 ​

ts
// 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 ​

keystringkeystrkeyStringKeystringKey*stringrequired#
The key that's associated with the tag.
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The value that's associated with the tag.