Interface CfnAIPrompt.AIPromptTemplateConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIPrompt.AIPromptTemplateConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAIPrompt
@Stability(Stable)
public static interface CfnAIPrompt.AIPromptTemplateConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
A typed union that specifies the configuration for a prompt template based on its type.
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.wisdom.*;
AIPromptTemplateConfigurationProperty aIPromptTemplateConfigurationProperty = AIPromptTemplateConfigurationProperty.builder()
.textFullAiPromptEditTemplateConfiguration(TextFullAIPromptEditTemplateConfigurationProperty.builder()
.text("text")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIPrompt.AIPromptTemplateConfigurationPropertystatic final classAn implementation forCfnAIPrompt.AIPromptTemplateConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The configuration for a prompt template that supports full textual prompt configuration using a YAML prompt.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTextFullAiPromptEditTemplateConfiguration
The configuration for a prompt template that supports full textual prompt configuration using a YAML prompt.Returns union: either
IResolvableorCfnAIPrompt.TextFullAIPromptEditTemplateConfigurationProperty- See Also:
-
builder
-