Class CfnAIPromptPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnAIPromptPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAIPromptPropsMixin>
- Enclosing class:
CfnAIPromptPropsMixin
@Stability(Stable)
public static final class CfnAIPromptPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAIPromptPropsMixin>
A fluent builder for
CfnAIPromptPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe API format used for this AI Prompt.assistantId(String assistantId) The identifier of the Amazon Q in Connect assistant.build()create()create(CfnPropertyMixinOptions options) description(String description) The description of the AI Prompt.The identifier of the model used for this AI Prompt.The name of the AI Prompt.The tags used to organize, track, or control access for this resource.templateConfiguration(CfnAIPromptPropsMixin.AIPromptTemplateConfigurationProperty templateConfiguration) The configuration of the prompt template for this AI Prompt.templateConfiguration(IResolvable templateConfiguration) The configuration of the prompt template for this AI Prompt.templateType(String templateType) The type of the prompt template for this AI Prompt.The type of this AI Prompt.
-
Method Details
-
create
@Stability(Stable) public static CfnAIPromptPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAIPromptPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAIPromptPropsMixin.Builder.
-
apiFormat
The API format used for this AI Prompt.- Parameters:
apiFormat- The API format used for this AI Prompt. This parameter is required.- Returns:
this- See Also:
-
assistantId
The identifier of the Amazon Q in Connect assistant.Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId- The identifier of the Amazon Q in Connect assistant. This parameter is required.- Returns:
this- See Also:
-
description
The description of the AI Prompt.- Parameters:
description- The description of the AI Prompt. This parameter is required.- Returns:
this- See Also:
-
modelId
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
- Parameters:
modelId- The identifier of the model used for this AI Prompt. The following model Ids are supported:. This parameter is required.- Returns:
this- See Also:
-
name
The name of the AI Prompt.- Parameters:
name- The name of the AI Prompt. This parameter is required.- Returns:
this- See Also:
-
tags
The tags used to organize, track, or control access for this resource.- Parameters:
tags- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this- See Also:
-
templateConfiguration
@Stability(Stable) public CfnAIPromptPropsMixin.Builder templateConfiguration(IResolvable templateConfiguration) The configuration of the prompt template for this AI Prompt.- Parameters:
templateConfiguration- The configuration of the prompt template for this AI Prompt. This parameter is required.- Returns:
this- See Also:
-
templateConfiguration
@Stability(Stable) public CfnAIPromptPropsMixin.Builder templateConfiguration(CfnAIPromptPropsMixin.AIPromptTemplateConfigurationProperty templateConfiguration) The configuration of the prompt template for this AI Prompt.- Parameters:
templateConfiguration- The configuration of the prompt template for this AI Prompt. This parameter is required.- Returns:
this- See Also:
-
templateType
The type of the prompt template for this AI Prompt.- Parameters:
templateType- The type of the prompt template for this AI Prompt. This parameter is required.- Returns:
this- See Also:
-
type
The type of this AI Prompt.- Parameters:
type- The type of this AI Prompt. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAIPromptPropsMixin>- Returns:
- a newly built instance of
CfnAIPromptPropsMixin.
-