

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Wisdom::MessageTemplate Content
<a name="aws-properties-wisdom-messagetemplate-content"></a>

The content of the message template.

## Syntax
<a name="aws-properties-wisdom-messagetemplate-content-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-wisdom-messagetemplate-content-syntax.json"></a>

```
{
  "[EmailMessageTemplateContent](#cfn-wisdom-messagetemplate-content-emailmessagetemplatecontent)" : {{EmailMessageTemplateContent}},
  "[SmsMessageTemplateContent](#cfn-wisdom-messagetemplate-content-smsmessagetemplatecontent)" : {{SmsMessageTemplateContent}}
}
```

### YAML
<a name="aws-properties-wisdom-messagetemplate-content-syntax.yaml"></a>

```
  [EmailMessageTemplateContent](#cfn-wisdom-messagetemplate-content-emailmessagetemplatecontent): {{
    EmailMessageTemplateContent}}
  [SmsMessageTemplateContent](#cfn-wisdom-messagetemplate-content-smsmessagetemplatecontent): {{
    SmsMessageTemplateContent}}
```

## Properties
<a name="aws-properties-wisdom-messagetemplate-content-properties"></a>

`EmailMessageTemplateContent`  <a name="cfn-wisdom-messagetemplate-content-emailmessagetemplatecontent"></a>
The content of the message template that applies to the email channel subtype.  
*Required*: No  
*Type*: [EmailMessageTemplateContent](aws-properties-wisdom-messagetemplate-emailmessagetemplatecontent.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SmsMessageTemplateContent`  <a name="cfn-wisdom-messagetemplate-content-smsmessagetemplatecontent"></a>
The content of message template that applies to SMS channel subtype.  
*Required*: No  
*Type*: [SmsMessageTemplateContent](aws-properties-wisdom-messagetemplate-smsmessagetemplatecontent.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)