Interface CfnPrompt.TextPromptTemplateConfigurationProperty

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

@Stability(Stable) public static interface CfnPrompt.TextPromptTemplateConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Contains configurations for a text prompt template.

To include a variable, enclose a word in double curly braces as in {{variable}} .

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.*;
 TextPromptTemplateConfigurationProperty textPromptTemplateConfigurationProperty = 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();
 

See Also: