Skip to content
v2.278.0

CfnMessageTemplateVersionProps Struct ​

Properties for defining a CfnMessageTemplateVersion.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const cfnMessageTemplateVersionProps: wisdom.CfnMessageTemplateVersionProps = {
  messageTemplateArn: 'messageTemplateArn',

  // the properties below are optional
  messageTemplateContentSha256: 'messageTemplateContentSha256',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

cfn_message_template_version_props = wisdom.CfnMessageTemplateVersionProps(
    message_template_arn="messageTemplateArn",

    # the properties below are optional
    message_template_content_sha256="messageTemplateContentSha256"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;

CfnMessageTemplateVersionProps cfnMessageTemplateVersionProps = CfnMessageTemplateVersionProps.builder()
        .messageTemplateArn("messageTemplateArn")

        // the properties below are optional
        .messageTemplateContentSha256("messageTemplateContentSha256")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;

var cfnMessageTemplateVersionProps = new CfnMessageTemplateVersionProps {
    MessageTemplateArn = "messageTemplateArn",

    // the properties below are optional
    MessageTemplateContentSha256 = "messageTemplateContentSha256"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnMessageTemplateVersionProps := &CfnMessageTemplateVersionProps{
	MessageTemplateArn: jsii.String("messageTemplateArn"),

	// the properties below are optional
	MessageTemplateContentSha256: jsii.String("messageTemplateContentSha256"),
}

Properties ​

messageTemplateArnstringmessage_template_arnstrmessageTemplateArnStringMessageTemplateArnstringMessageTemplateArn*string required #
The Amazon Resource Name (ARN) of the message template.
messageTemplateContentSha256optionalstringmessage_template_content_sha256optionalstrmessageTemplateContentSha256optionalStringMessageTemplateContentSha256optionalstringMessageTemplateContentSha256optional*string #
The content SHA256 of the message template.