EmailTemplateEmailTemplateArgs

data class EmailTemplateEmailTemplateArgs(val defaultSubstitutions: Output<String>? = null, val description: Output<String>? = null, val headers: Output<List<EmailTemplateEmailTemplateHeaderArgs>>? = null, val htmlPart: Output<String>? = null, val recommenderId: Output<String>? = null, val subject: Output<String>? = null, val textPart: Output<String>? = null) : ConvertibleToJava<EmailTemplateEmailTemplateArgs>

Constructors

Link copied to clipboard
constructor(defaultSubstitutions: Output<String>? = null, description: Output<String>? = null, headers: Output<List<EmailTemplateEmailTemplateHeaderArgs>>? = null, htmlPart: Output<String>? = null, recommenderId: Output<String>? = null, subject: Output<String>? = null, textPart: Output<String>? = null)

Properties

Link copied to clipboard
val defaultSubstitutions: Output<String>? = null

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.

Link copied to clipboard
val description: Output<String>? = null
Link copied to clipboard
Link copied to clipboard
val htmlPart: Output<String>? = null

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.

Link copied to clipboard
val recommenderId: Output<String>? = null

The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.

Link copied to clipboard
val subject: Output<String>? = null

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

Link copied to clipboard
val textPart: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): EmailTemplateEmailTemplateArgs