AWS::SES::Template - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::SES::Template

Specifies an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation.

Syntax

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

JSON

{ "Type" : "AWS::SES::Template", "Properties" : { "Template" : Template } }

YAML

Type: AWS::SES::Template Properties: Template: Template

Properties

Template

The content of the email, composed of a subject line and either an HTML part or a text-only part.

Required: No

Type: Template

Update requires: No interruption

Return values

Fn::GetAtt

Id

Property description not available.

Examples

Specifies an email template, which is used when sending templated email messages.

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