Interface CfnFlowVersion.PromptTemplateConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowVersion.PromptTemplateConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFlowVersion
@Stability(Stable)
public static interface CfnFlowVersion.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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlowVersion.PromptTemplateConfigurationPropertystatic final classAn implementation forCfnFlowVersion.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.Returns union: either
IResolvableorCfnFlowVersion.TextPromptTemplateConfigurationProperty- See Also:
-
builder
-