AWS::Wisdom::MessageTemplateCreates an Amazon Q in Connect message template. The name of the message template has to be unique for each knowledge base. The channel subtype of the message template is immutable and cannot be modified after creation. After the message template is created, you can use the `$LATEST` qualifier to reference the created message template.
import { CfnMessageTemplate } from 'aws-cdk-lib/aws-wisdom';Or use the module namespace:
import * as wisdom from 'aws-cdk-lib/aws-wisdom';
// wisdom.CfnMessageTemplateConfiguration passed to the constructor as CfnMessageTemplateProps.
channelSubtypeRequiredstringThe channel subtype this message template applies to.
contentRequiredIResolvable | ContentPropertyThe content of the message template.
knowledgeBaseArnRequiredstringThe Amazon Resource Name (ARN) of the knowledge base.
nameRequiredstringThe name of the message template.
defaultAttributesOptionalIResolvable | MessageTemplateAttributesPropertyAn object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
descriptionOptionalstringThe description of the message template.
groupingConfigurationOptionalIResolvable | GroupingConfigurationPropertyThe configuration information of the external data source.
languageOptionalstringThe language code value for the language in which the quick response is written. The supported language codes include `de_DE` , `en_US` , `es_ES` , `fr_FR` , `id_ID` , `it_IT` , `ja_JP` , `ko_KR` , `pt_BR` , `zh_CN` , `zh_TW`
messageTemplateAttachmentsOptionalIResolvable | IResolvable | MessageTemplateAttachmentProperty[]List of message template attachments.
tagsOptionalCfnTag[]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::MessageTemplate