This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Wisdom::AIPrompt
Creates an Amazon Q in Connect AI Prompt.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Wisdom::AIPrompt", "Properties" : { "ApiFormat" :String, "AssistantId" :String, "Description" :String, "ModelId" :String, "Name" :String, "Tags" :{, "TemplateConfiguration" :Key:Value, ...}AIPromptTemplateConfiguration, "TemplateType" :String, "Type" :String} }
YAML
Type: AWS::Wisdom::AIPrompt Properties: ApiFormat:StringAssistantId:StringDescription:StringModelId:StringName:StringTags:TemplateConfiguration:Key:ValueAIPromptTemplateConfigurationTemplateType:StringType:String
Properties
ApiFormat-
The API format used for this AI Prompt.
Required: Yes
Type: String
Allowed values:
ANTHROPIC_CLAUDE_MESSAGES | ANTHROPIC_CLAUDE_TEXT_COMPLETIONS | MESSAGES | TEXT_COMPLETIONSUpdate requires: Replacement
AssistantId-
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
Required: No
Type: String
Pattern:
^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$Update requires: Replacement
Description-
The description of the AI Prompt.
Required: No
Type: String
Pattern:
^[a-zA-Z0-9\s_.,-]+Minimum:
1Maximum:
255Update requires: No interruption
ModelId-
The identifier of the model used for this AI Prompt. The following model Ids are supported:
-
anthropic.claude-3-haiku--v1:0 -
apac.amazon.nova-lite-v1:0 -
apac.amazon.nova-micro-v1:0 -
apac.amazon.nova-pro-v1:0 -
apac.anthropic.claude-3-5-sonnet--v2:0 -
apac.anthropic.claude-3-haiku-20240307-v1:0 -
eu.amazon.nova-lite-v1:0 -
eu.amazon.nova-micro-v1:0 -
eu.amazon.nova-pro-v1:0 -
eu.anthropic.claude-3-7-sonnet-20250219-v1:0 -
eu.anthropic.claude-3-haiku-20240307-v1:0 -
us.amazon.nova-lite-v1:0 -
us.amazon.nova-micro-v1:0 -
us.amazon.nova-pro-v1:0 -
us.anthropic.claude-3-5-haiku-20241022-v1:0 -
us.anthropic.claude-3-7-sonnet-20250219-v1:0 -
us.anthropic.claude-3-haiku-20240307-v1:0
Required: Yes
Type: String
Minimum:
1Maximum:
2048Update requires: No interruption
-
Name-
The name of the AI Prompt
Required: No
Type: String
Pattern:
^[a-zA-Z0-9\s_.,-]+Minimum:
1Maximum:
255Update requires: Replacement
-
The tags used to organize, track, or control access for this resource.
Required: No
Type: Object of String
Pattern:
^(?!aws:)[a-zA-Z+-=._:/]+$Minimum:
1Maximum:
256Update requires: Replacement
TemplateConfiguration-
The configuration of the prompt template for this AI Prompt.
Required: Yes
Type: AIPromptTemplateConfiguration
Update requires: No interruption
TemplateType-
The type of the prompt template for this AI Prompt.
Required: Yes
Type: String
Allowed values:
TEXTUpdate requires: Replacement
Type-
The type of this AI Prompt.
Required: Yes
Type: String
Allowed values:
ANSWER_GENERATION | INTENT_LABELING_GENERATION | QUERY_REFORMULATION | SELF_SERVICE_PRE_PROCESSING | SELF_SERVICE_ANSWER_GENERATION | EMAIL_RESPONSE | EMAIL_OVERVIEW | EMAIL_GENERATIVE_ANSWER | EMAIL_QUERY_REFORMULATIONUpdate requires: Replacement
Return values
Ref
Fn::GetAtt
AIPromptArn-
The Amazon Resource Name (ARN) of the AI Prompt.
AIPromptId-
The identifier of the Amazon Q in Connect AI prompt.
AssistantArn-
The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
ModifiedTimeSecondsProperty description not available.