AWS::Wisdom::AIPromptCreates an Amazon Q in Connect AI Prompt.
import { CfnAIPrompt } from 'aws-cdk-lib/aws-wisdom';Or use the module namespace:
import * as wisdom from 'aws-cdk-lib/aws-wisdom';
// wisdom.CfnAIPromptConfiguration passed to the constructor as CfnAIPromptProps.
apiFormatRequiredstringThe API format used for this AI Prompt.
modelIdRequiredstringThe 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`
templateConfigurationRequiredIResolvable | AIPromptTemplateConfigurationPropertyThe configuration of the prompt template for this AI Prompt.
templateTypeRequiredstringThe type of the prompt template for this AI Prompt.
typeRequiredstringThe type of this AI Prompt.
assistantIdOptionalstringThe identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
descriptionOptionalstringThe description of the AI Prompt.
nameOptionalstringThe name of the AI Prompt.
tagsOptional{ [key: string]: string }The tags used to organize, track, or control access for this resource.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-wisdomAWS::Wisdom::AIPrompt