Show / Hide Table of Contents

Class CfnTemplate.TemplateProperty

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.

Inheritance
object
CfnTemplate.TemplateProperty
Implements
CfnTemplate.ITemplateProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTemplate.TemplateProperty : CfnTemplate.ITemplateProperty
Syntax (vb)
Public Class CfnTemplate.TemplateProperty Implements CfnTemplate.ITemplateProperty
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SES;

             var templateProperty = new TemplateProperty {
                 SubjectPart = "subjectPart",

                 // the properties below are optional
                 HtmlPart = "htmlPart",
                 TemplateName = "templateName",
                 TextPart = "textPart"
             };

Synopsis

Constructors

TemplateProperty()

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.

Properties

HtmlPart

The HTML body of the email.

SubjectPart

The subject line of the email.

TemplateName

The name of the template.

TextPart

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

Constructors

TemplateProperty()

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.

public TemplateProperty()
Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SES;

             var templateProperty = new TemplateProperty {
                 SubjectPart = "subjectPart",

                 // the properties below are optional
                 HtmlPart = "htmlPart",
                 TemplateName = "templateName",
                 TextPart = "textPart"
             };

Properties

HtmlPart

The HTML body of the email.

public string? HtmlPart { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-htmlpart

SubjectPart

The subject line of the email.

public string SubjectPart { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-subjectpart

TemplateName

The name of the template.

public string? TemplateName { get; set; }
Property Value

string

Remarks

You will refer to this name when you send email using the SendEmail or SendBulkEmail operations.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-templatename

TextPart

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

public string? TextPart { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-textpart

Implements

CfnTemplate.ITemplateProperty
Back to top Generated by DocFX