CfnMessageTemplateVersionPropsMixin

class aws_cdk.mixins_preview.aws_wisdom.mixins.CfnMessageTemplateVersionPropsMixin(props, *, strategy=None)

Bases: Mixin

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-messagetemplateversion.html

CloudformationResource:

AWS::Wisdom::MessageTemplateVersion

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_wisdom import mixins as wisdom_mixins

cfn_message_template_version_props_mixin = wisdom_mixins.CfnMessageTemplateVersionPropsMixin(wisdom_mixins.CfnMessageTemplateVersionMixinProps(
    message_template_arn="messageTemplateArn",
    message_template_content_sha256="messageTemplateContentSha256"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Wisdom::MessageTemplateVersion.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['messageTemplateArn', 'messageTemplateContentSha256']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental