AWS::SES::Template
The
AWS::SES::Template resource specifies the content of an email (composed of a subject line, an HTML part,
and a text-only part) for Amazon SES. For more information, see Template in the Amazon Simple Email Service API Reference.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Template-
The content of the email, composed of a subject line, an HTML part, and a text-only part.
Required: No
Type: Template
Update requires: No interruption
Example
JSON
{ "AWSTemplateFormatVersion": "2010-09-09", "Description": "AWS SES Template Sample Template", "Parameters": { "TemplateName": { "Type": "String" }, "SubjectPart": { "Type": "String" }, "TextPart": { "Type": "String" }, "HtmlPart": { "Type": "String" } }, "Resources": { "Template": { "Type": "AWS::SES::Template", "Properties": { "Template": { "TemplateName": { "Ref": "TemplateName" }, "SubjectPart": { "Ref": "SubjectPart" }, "TextPart": { "Ref": "TextPart" }, "HtmlPart": { "Ref": "HtmlPart" } } } } } }
YAML
AWSTemplateFormatVersion: 2010-09-09 Description: 'AWS SES Template Sample Template' Parameters: TemplateName: Type: String SubjectPart: Type: String TextPart: Type: String HtmlPart: Type: String Resources: Template: Type: AWS::SES::Template Properties: Template: TemplateName: !Ref TemplateName SubjectPart: !Ref SubjectPart TextPart: !Ref TextPart HtmlPart: !Ref HtmlPart
See Also
-
Template in the Amazon Simple Email Service API Reference
