# PromptMetadataEntryProperty

Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant.

For more information, see [Create a prompt using Prompt management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html) .

- Source: Generated code
- Type last changed: v2.182.0 · 5 Mar 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const promptMetadataEntryProperty: bedrock.CfnPrompt.PromptMetadataEntryProperty = {
  key: 'key',
  value: 'value',
};
```

## Properties

- `key`: string (required) — The key of a metadata tag for a prompt variant.

- `value`: string (required) — The value of a metadata tag for a prompt variant.
