Interface CfnAIPromptProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIPromptProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:25.128Z")
@Stability(Stable)
public interface CfnAIPromptProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAIPrompt
.
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.*; CfnAIPromptProps cfnAIPromptProps = CfnAIPromptProps.builder() .apiFormat("apiFormat") .modelId("modelId") .templateConfiguration(AIPromptTemplateConfigurationProperty.builder() .textFullAiPromptEditTemplateConfiguration(TextFullAIPromptEditTemplateConfigurationProperty.builder() .text("text") .build()) .build()) .templateType("templateType") .type("type") // the properties below are optional .assistantId("assistantId") .description("description") .name("name") .tags(Map.of( "tagsKey", "tags")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAIPromptProps
static final class
An implementation forCfnAIPromptProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAIPromptProps.Builder
builder()
The API format used for this AI Prompt.default String
The identifier of the Amazon Q in Connect assistant.default String
The description of the AI Prompt.The identifier of the model used for this AI Prompt.default String
getName()
The name of the AI Prompt.getTags()
The tags used to organize, track, or control access for this resource.The configuration of the prompt template for this AI Prompt.The type of the prompt template for this AI Prompt.getType()
The type of this AI Prompt.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiFormat
The API format used for this AI Prompt.- See Also:
-
getModelId
The identifier of the model used for this AI Prompt.Model Ids supported are:
CLAUDE_3_HAIKU_20240307_V1
.- See Also:
-
getTemplateConfiguration
The configuration of the prompt template for this AI Prompt.- See Also:
-
getTemplateType
The type of the prompt template for this AI Prompt.- See Also:
-
getType
The type of this AI Prompt.- See Also:
-
getAssistantId
The identifier of the Amazon Q in Connect assistant.Can be either the ID or the ARN. URLs cannot contain the ARN.
- See Also:
-
getDescription
The description of the AI Prompt.- See Also:
-
getName
The name of the AI Prompt.- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.- See Also:
-
builder
- Returns:
- a
CfnAIPromptProps.Builder
ofCfnAIPromptProps
-