Skip to content
v2.275.0

PromptMetadataEntryProperty Struct ​

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 .

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 ​

keystringkeystrkeyStringKeystringKey*stringrequired#
The key of a metadata tag for a prompt variant.
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The value of a metadata tag for a prompt variant.