AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Wisdom::MessageTemplate

CfnMessageTemplate

Creates 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

import { CfnMessageTemplate } from 'aws-cdk-lib/aws-wisdom';

Or use the module namespace:

import * as wisdom from 'aws-cdk-lib/aws-wisdom';
// wisdom.CfnMessageTemplate

Properties

Configuration passed to the constructor as CfnMessageTemplateProps.

channelSubtypeRequired
string

The channel subtype this message template applies to.

contentRequired
IResolvable | ContentProperty

The content of the message template.

knowledgeBaseArnRequired
string

The Amazon Resource Name (ARN) of the knowledge base.

nameRequired
string

The name of the message template.

defaultAttributesOptional
IResolvable | MessageTemplateAttributesProperty

An 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.

descriptionOptional
string

The description of the message template.

groupingConfigurationOptional
IResolvable | GroupingConfigurationProperty

The configuration information of the external data source.

languageOptional
string

The 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`

messageTemplateAttachmentsOptional
IResolvable | IResolvable | MessageTemplateAttachmentProperty[]

List of message template attachments.

tagsOptional
CfnTag[]

The tags used to organize, track, or control access for this resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter