interface CampaignEmailMessageProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pinpoint.CfnCampaign.CampaignEmailMessageProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnCampaign_CampaignEmailMessageProperty |
Java | software.amazon.awscdk.services.pinpoint.CfnCampaign.CampaignEmailMessageProperty |
Python | aws_cdk.aws_pinpoint.CfnCampaign.CampaignEmailMessageProperty |
TypeScript | aws-cdk-lib » aws_pinpoint » CfnCampaign » CampaignEmailMessageProperty |
Specifies the content and "From" address for an email message that's sent to recipients of a campaign.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const campaignEmailMessageProperty: pinpoint.CfnCampaign.CampaignEmailMessageProperty = {
body: 'body',
fromAddress: 'fromAddress',
htmlBody: 'htmlBody',
title: 'title',
};
Properties
Name | Type | Description |
---|---|---|
body? | string | The body of the email for recipients whose email clients don't render HTML content. |
from | string | The verified email address to send the email from. |
html | string | The body of the email, in HTML format, for recipients whose email clients render HTML content. |
title? | string | The subject line, or title, of the email. |
body?
Type:
string
(optional)
The body of the email for recipients whose email clients don't render HTML content.
fromAddress?
Type:
string
(optional)
The verified email address to send the email from.
The default address is the FromAddress
specified for the email channel for the application.
htmlBody?
Type:
string
(optional)
The body of the email, in HTML format, for recipients whose email clients render HTML content.
title?
Type:
string
(optional)
The subject line, or title, of the email.