Interface CfnEmailTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEmailTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.826Z")
@Stability(Stable)
public interface CfnEmailTemplateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEmailTemplate
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pinpoint.*; Object tags; CfnEmailTemplateProps cfnEmailTemplateProps = CfnEmailTemplateProps.builder() .subject("subject") .templateName("templateName") // the properties below are optional .defaultSubstitutions("defaultSubstitutions") .htmlPart("htmlPart") .tags(tags) .templateDescription("templateDescription") .textPart("textPart") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEmailTemplateProps
static final class
An implementation forCfnEmailTemplateProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
A JSON object that specifies the default values to use for message variables in the message template.default String
The message body, in HTML format, to use in email messages that are based on the message template.The subject line, or title, to use in email messages that are based on the message template.default Object
getTags()
An array of key-value pairs to apply to this resource.default String
A custom description of the message template.The name of the message template.default String
The message body, in plain text format, to use in email messages that are based on the message template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubject
The subject line, or title, to use in email messages that are based on the message template. -
getTemplateName
The name of the message template. -
getDefaultSubstitutions
A JSON object that specifies the default values to use for message variables in the message template.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.
-
getHtmlPart
The message body, in HTML format, to use in email messages that are based on the message template.We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getTemplateDescription
A custom description of the message template. -
getTextPart
The message body, in plain text format, to use in email messages that are based on the message template.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.
-
builder
- Returns:
- a
CfnEmailTemplateProps.Builder
ofCfnEmailTemplateProps
-