Show / Hide Table of Contents

Interface CfnTemplate.ITemplateProperty

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.

Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTemplate.ITemplateProperty
Syntax (vb)
Public Interface 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

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.

Properties

HtmlPart

The HTML body of the email.

string? HtmlPart { get; }
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.

string SubjectPart { get; }
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.

string? TemplateName { get; }
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.

string? TextPart { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX