# KeyValuePairProperty

A key-value pair for tags.

- Source: Generated code
- Type last changed: v2.232.0 · 5 Dec 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const keyValuePairProperty: devopsagent.CfnAssociation.KeyValuePairProperty = {
  key: 'key',
  value: 'value',
};
```

## Properties

- `key`: string (required) — The key name of the tag.

- `value`: string (required) — The value for the tag.
