AWS::PinpointEmail::Identity MailFromAttributes - AWS CloudFormation

AWS::PinpointEmail::Identity MailFromAttributes

A list of attributes that are associated with a MAIL FROM domain.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "BehaviorOnMxFailure" : String, "MailFromDomain" : String }

YAML

BehaviorOnMxFailure: String MailFromDomain: String

Properties

BehaviorOnMxFailure

The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain. When you set this value to UseDefaultValue, Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, Amazon Pinpoint returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending, Failed, and TemporaryFailure states.

Required: No

Type: String

Allowed values: USE_DEFAULT_VALUE | REJECT_MESSAGE

Update requires: No interruption

MailFromDomain

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Required: No

Type: String

Update requires: No interruption