Class CfnPrompt.PromptMetadataEntryProperty
Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPrompt.PromptMetadataEntryProperty : CfnPrompt.IPromptMetadataEntryProperty
Syntax (vb)
Public Class CfnPrompt.PromptMetadataEntryProperty Implements CfnPrompt.IPromptMetadataEntryProperty
Remarks
For more information, see Create a prompt using Prompt management .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var promptMetadataEntryProperty = new PromptMetadataEntryProperty {
Key = "key",
Value = "value"
};
Synopsis
Constructors
| PromptMetadataEntryProperty() | Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. |
Properties
| Key | The key of a metadata tag for a prompt variant. |
| Value | The value of a metadata tag for a prompt variant. |
Constructors
PromptMetadataEntryProperty()
Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant.
public PromptMetadataEntryProperty()
Remarks
For more information, see Create a prompt using Prompt management .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var promptMetadataEntryProperty = new PromptMetadataEntryProperty {
Key = "key",
Value = "value"
};
Properties
Key
The key of a metadata tag for a prompt variant.
public string Key { get; set; }
Property Value
Remarks
Value
The value of a metadata tag for a prompt variant.
public string Value { get; set; }