Interface CfnEmailTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEmailTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:22.679Z")
@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();
- See Also:
-
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.- See Also:
-
getTemplateName
The name of the message template.- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
getTemplateDescription
A custom description of the message template.- See Also:
-
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.
- See Also:
-
builder
- Returns:
- a
CfnEmailTemplateProps.Builder
ofCfnEmailTemplateProps
-