AWS::Wisdom::MessageTemplateVersionCreates 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 { CfnMessageTemplateVersion } from 'aws-cdk-lib/aws-wisdom';Or use the module namespace:
import * as wisdom from 'aws-cdk-lib/aws-wisdom';
// wisdom.CfnMessageTemplateVersionConfiguration passed to the constructor as CfnMessageTemplateVersionProps.
messageTemplateArnRequiredstringThe Amazon Resource Name (ARN) of the message template.
messageTemplateContentSha256OptionalstringThe content SHA256 of the message template.
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::MessageTemplateVersion