Interface CfnFlowVersionPropsMixin.PromptTemplateConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowVersionPropsMixin.PromptTemplateConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFlowVersionPropsMixin
@Stability(Stable)
public static interface CfnFlowVersionPropsMixin.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.mixins.preview.services.bedrock.mixins.*;
PromptTemplateConfigurationProperty promptTemplateConfigurationProperty = PromptTemplateConfigurationProperty.builder()
.text(TextPromptTemplateConfigurationProperty.builder()
.inputVariables(List.of(PromptInputVariableProperty.builder()
.name("name")
.build()))
.text("text")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnFlowVersionPropsMixin.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
IResolvableorCfnFlowVersionPropsMixin.TextPromptTemplateConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnFlowVersionPropsMixin.PromptTemplateConfigurationProperty.Builder builder()
-