AWS::SES::Template Template - AWS CloudFormation

AWS::SES::Template Template

An object that defines the email template to use for an email message, and the values to use for any message variables in that template. An email template is a type of message template that contains content that you want to reuse in email messages that you send. You can specifiy the email template by providing the name or ARN of an email template previously saved in your Amazon SES account or by providing the full template content.

Syntax

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

JSON

{ "HtmlPart" : String, "SubjectPart" : String, "TemplateName" : String, "TextPart" : String }

YAML

HtmlPart: String SubjectPart: String TemplateName: String TextPart: String

Properties

HtmlPart

The HTML body of the email.

Required: No

Type: String

Update requires: No interruption

SubjectPart

The subject line of the email.

Required: Yes

Type: String

Update requires: No interruption

TemplateName

The name of the template. You will refer to this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9_-]{1,64}$

Minimum: 1

Maximum: 64

Update requires: Replacement

TextPart

The email body that is visible to recipients whose email clients do not display HTML content.

Required: No

Type: String

Update requires: No interruption