Interface CfnPromptVersion.TextPromptTemplateConfigurationProperty

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

@Stability(Stable) public static interface CfnPromptVersion.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()
         .text("text")
         // the properties below are optional
         .inputVariables(List.of(PromptInputVariableProperty.builder()
                 .name("name")
                 .build()))
         .build();
 

See Also: