@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.221Z") @Stability(value=Stable) public interface CfnEmailTemplateProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEmailTemplateProps.Builder
A builder for
CfnEmailTemplateProps |
static class |
CfnEmailTemplateProps.Jsii$Proxy
An implementation for
CfnEmailTemplateProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEmailTemplateProps.Builder |
builder() |
default String |
getDefaultSubstitutions()
A JSON object that specifies the default values to use for message variables in the message template.
|
default String |
getHtmlPart()
The message body, in HTML format, to use in email messages that are based on the message template.
|
String |
getSubject()
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 |
getTemplateDescription()
A custom description of the message template.
|
String |
getTemplateName()
The name of the message template.
|
default String |
getTextPart()
The message body, in plain text format, to use in email messages that are based on the message template.
|
@Stability(value=Stable) @NotNull String getSubject()
@Stability(value=Stable) @NotNull String getTemplateName()
@Stability(value=Stable) @Nullable default String getDefaultSubstitutions()
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.
@Stability(value=Stable) @Nullable default String getHtmlPart()
We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
@Stability(value=Stable) @Nullable default Object getTags()
For more information, see Tag .
@Stability(value=Stable) @Nullable default String getTemplateDescription()
@Stability(value=Stable) @Nullable default String getTextPart()
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.
@Stability(value=Stable) static CfnEmailTemplateProps.Builder builder()
CfnEmailTemplateProps.Builder of CfnEmailTemplatePropsCopyright © 2022. All rights reserved.