Show / Hide Table of Contents

Class CfnEmailTemplateProps

Properties for defining a CfnEmailTemplate.

Inheritance
System.Object
CfnEmailTemplateProps
Implements
ICfnEmailTemplateProps
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.AWS.Pinpoint.dll
Syntax (csharp)
public class CfnEmailTemplateProps : Object, ICfnEmailTemplateProps
Syntax (vb)
Public Class CfnEmailTemplateProps
    Inherits Object
    Implements ICfnEmailTemplateProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.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.Pinpoint;

var tags;

var cfnEmailTemplateProps = new CfnEmailTemplateProps {
    Subject = "subject",
    TemplateName = "templateName",

    // the properties below are optional
    DefaultSubstitutions = "defaultSubstitutions",
    HtmlPart = "htmlPart",
    Tags = tags,
    TemplateDescription = "templateDescription",
    TextPart = "textPart"
};

Synopsis

Constructors

CfnEmailTemplateProps()

Properties

DefaultSubstitutions

A JSON object that specifies the default values to use for message variables in the message template.

HtmlPart

The message body, in HTML format, to use in email messages that are based on the message template.

Subject

The subject line, or title, to use in email messages that are based on the message template.

Tags

An array of key-value pairs to apply to this resource.

TemplateDescription

A custom description of the message template.

TemplateName

The name of the message template.

TextPart

The message body, in plain text format, to use in email messages that are based on the message template.

Constructors

CfnEmailTemplateProps()

public CfnEmailTemplateProps()

Properties

DefaultSubstitutions

A JSON object that specifies the default values to use for message variables in the message template.

public string DefaultSubstitutions { get; set; }
Property Value

System.String

Remarks

This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-defaultsubstitutions

HtmlPart

The message body, in HTML format, to use in email messages that are based on the message template.

public string HtmlPart { get; set; }
Property Value

System.String

Remarks

We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-htmlpart

Subject

The subject line, or title, to use in email messages that are based on the message template.

public string Subject { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-subject

Tags

An array of key-value pairs to apply to this resource.

public object Tags { get; set; }
Property Value

System.Object

Remarks

For more information, see Tag .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-tags

TemplateDescription

A custom description of the message template.

public string TemplateDescription { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-templatedescription

TemplateName

The name of the message template.

public string TemplateName { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-templatename

TextPart

The message body, in plain text format, to use in email messages that are based on the message template.

public string TextPart { get; set; }
Property Value

System.String

Remarks

We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-textpart

Implements

ICfnEmailTemplateProps
Back to top Generated by DocFX