Class CfnTemplate.TemplateProperty
The content of the email, composed of a subject line and either an HTML part or a text-only part.
Inheritance
System.Object
CfnTemplate.TemplateProperty
Implements
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TemplateProperty : Object, CfnTemplate.ITemplateProperty
Syntax (vb)
Public Class TemplateProperty
Inherits Object
Implements CfnTemplate.ITemplateProperty
Remarks
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() |
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()
public TemplateProperty()
Properties
HtmlPart
The HTML body of the email.
public string HtmlPart { get; set; }
Property Value
System.String
Remarks
SubjectPart
The subject line of the email.
public string SubjectPart { get; set; }
Property Value
System.String
Remarks
TemplateName
The name of the template.
public string TemplateName { get; set; }
Property Value
System.String
Remarks
TextPart
The email body that is visible to recipients whose email clients do not display HTML content.
public string TextPart { get; set; }
Property Value
System.String