Interface CfnAIPromptMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIPromptMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:06.275Z")
@Stability(Stable)
public interface CfnAIPromptMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAIPromptPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.wisdom.*;
CfnAIPromptMixinProps cfnAIPromptMixinProps = CfnAIPromptMixinProps.builder()
.apiFormat("apiFormat")
.assistantId("assistantId")
.description("description")
.modelId("modelId")
.name("name")
.tags(Map.of(
"tagsKey", "tags"))
.templateConfiguration(AIPromptTemplateConfigurationProperty.builder()
.textFullAiPromptEditTemplateConfiguration(TextFullAIPromptEditTemplateConfigurationProperty.builder()
.text("text")
.build())
.build())
.templateType("templateType")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIPromptMixinPropsstatic final classAn implementation forCfnAIPromptMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe API format used for this AI Prompt.default StringThe identifier of the Amazon Q in Connect assistant.default StringThe description of the AI Prompt.default StringThe identifier of the model used for this AI Prompt.default StringgetName()The name of the AI Prompt.getTags()The tags used to organize, track, or control access for this resource.default ObjectThe configuration of the prompt template for this AI Prompt.default StringThe type of the prompt template for this AI Prompt.default StringgetType()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:
-
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:
-
getModelId
The identifier of the model used for this AI Prompt. The following model Ids are supported:.anthropic.claude-3-haiku--v1:0apac.amazon.nova-lite-v1:0apac.amazon.nova-micro-v1:0apac.amazon.nova-pro-v1:0apac.anthropic.claude-3-5-sonnet--v2:0apac.anthropic.claude-3-haiku-20240307-v1:0eu.amazon.nova-lite-v1:0eu.amazon.nova-micro-v1:0eu.amazon.nova-pro-v1:0eu.anthropic.claude-3-7-sonnet-20250219-v1:0eu.anthropic.claude-3-haiku-20240307-v1:0us.amazon.nova-lite-v1:0us.amazon.nova-micro-v1:0us.amazon.nova-pro-v1:0us.anthropic.claude-3-5-haiku-20241022-v1:0us.anthropic.claude-3-7-sonnet-20250219-v1:0us.anthropic.claude-3-haiku-20240307-v1:0
- 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:
-
getTemplateConfiguration
The configuration of the prompt template for this AI Prompt.Returns union: either
IResolvableorCfnAIPromptPropsMixin.AIPromptTemplateConfigurationProperty- See Also:
-
getTemplateType
The type of the prompt template for this AI Prompt.- See Also:
-
getType
The type of this AI Prompt.- See Also:
-
builder
- Returns:
- a
CfnAIPromptMixinProps.BuilderofCfnAIPromptMixinProps
-