Interface CfnPrompt.PromptTemplateConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPrompt.PromptTemplateConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnPrompt

@Stability(Stable) public static interface CfnPrompt.PromptTemplateConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Contains the message for a prompt.

For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrock.*;
 PromptTemplateConfigurationProperty promptTemplateConfigurationProperty = PromptTemplateConfigurationProperty.builder()
         .text(TextPromptTemplateConfigurationProperty.builder()
                 .inputVariables(List.of(PromptInputVariableProperty.builder()
                         .name("name")
                         .build()))
                 .text("text")
                 .textS3Location(TextS3LocationProperty.builder()
                         .bucket("bucket")
                         .key("key")
                         // the properties below are optional
                         .version("version")
                         .build())
                 .build())
         .build();
 

See Also: