Interface CfnFlow.PromptTemplateConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlow.PromptTemplateConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFlow
@Stability(Stable)
public static interface CfnFlow.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() .text("text") // the properties below are optional .inputVariables(List.of(PromptInputVariableProperty.builder() .name("name") .build())) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFlow.PromptTemplateConfigurationProperty
static final class
An implementation forCfnFlow.PromptTemplateConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getText
Contains configurations for the text in a message for a prompt.- See Also:
-
builder
-