# ResourceTagProperty

The tag structure that contains a tag key and value.

> Tagging is supported only for the following Cost Explorer resource types: [`AnomalyMonitor`](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html) , [`AnomalySubscription`](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html) , [`CostCategory`](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html) .

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `key`: string (required) — The key that's associated with the tag.

- `value`: string (required) — The value that's associated with the tag.
