interface CfnEmailTemplateMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins.CfnEmailTemplateMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspinpoint/mixins#CfnEmailTemplateMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnEmailTemplateMixinProps |
Python | aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnEmailTemplateMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_pinpoint » mixins » CfnEmailTemplateMixinProps |
Properties for CfnEmailTemplatePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as pinpoint_mixins } from '@aws-cdk/mixins-preview/aws-pinpoint';
declare const tags: any;
const cfnEmailTemplateMixinProps: pinpoint_mixins.CfnEmailTemplateMixinProps = {
defaultSubstitutions: 'defaultSubstitutions',
htmlPart: 'htmlPart',
subject: 'subject',
tags: tags,
templateDescription: 'templateDescription',
templateName: 'templateName',
textPart: 'textPart',
};
Properties
| Name | Type | Description |
|---|---|---|
| default | string | A JSON object that specifies the default values to use for message variables in the message template. |
| html | string | The message body, in HTML format, to use in email messages that are based on the message template. |
| subject? | string | The subject line, or title, to use in email messages that are based on the message template. |
| tags? | any | An array of key-value pairs to apply to this resource. |
| template | string | A custom description of the message template. |
| template | string | The name of the message template. |
| text | string | The message body, in plain text format, to use in email messages that are based on the message template. |
defaultSubstitutions?
Type:
string
(optional)
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.
htmlPart?
Type:
string
(optional)
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.
subject?
Type:
string
(optional)
The subject line, or title, to use in email messages that are based on the message template.
tags?
Type:
any
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
templateDescription?
Type:
string
(optional)
A custom description of the message template.
templateName?
Type:
string
(optional)
The name of the message template.
textPart?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript