AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Wisdom::MessageTemplateVersion

CfnMessageTemplateVersion

Creates a new Amazon Q in Connect message template version from the current content and configuration of a message template. Versions are immutable and monotonically increasing. Once a version is created, you can reference a specific version of the message template by passing in `<messageTemplateArn>:<versionNumber>` as the message template identifier. An error is displayed if the supplied `messageTemplateContentSha256` is different from the `messageTemplateContentSha256` of the message template with `$LATEST` qualifier. If multiple `CreateMessageTemplateVersion` requests are made while the message template remains the same, only the first invocation creates a new version and the succeeding requests will return the same response as the first invocation.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnMessageTemplateVersionProps.

messageTemplateArnRequired
string

The Amazon Resource Name (ARN) of the message template.

messageTemplateContentSha256Optional
string

The content SHA256 of the message template.

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

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-wisdom
CFN TypeAWS::Wisdom::MessageTemplateVersion
Properties2

External Links