aws-cdk-lib.aws_pinpoint.CfnCampaign.CampaignEmailMessageProperty

interface CampaignEmailMessageProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnCampaign.CampaignEmailMessageProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnCampaign_CampaignEmailMessageProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnCampaign.CampaignEmailMessageProperty
Pythonaws_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

NameTypeDescription
body?stringThe body of the email for recipients whose email clients don't render HTML content.
fromAddress?stringThe verified email address to send the email from.
htmlBody?stringThe body of the email, in HTML format, for recipients whose email clients render HTML content.
title?stringThe 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.