CfnMessageTemplateVersionPropsMixin
- class aws_cdk.mixins_preview.aws_wisdom.mixins.CfnMessageTemplateVersionPropsMixin(props, *, strategy=None)
Bases:
MixinCreates 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 suppliedmessageTemplateContentSha256is different from themessageTemplateContentSha256of the message template with$LATESTqualifier. If multipleCreateMessageTemplateVersionrequests 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:
- 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:
props (
Union[CfnMessageTemplateVersionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental