aws-cdk-lib.aws_pinpointemail.CfnIdentity.MailFromAttributesProperty

interface MailFromAttributesProperty

LanguageType name
.NETAmazon.CDK.AWS.PinpointEmail.CfnIdentity.MailFromAttributesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpointemail#CfnIdentity_MailFromAttributesProperty
Javasoftware.amazon.awscdk.services.pinpointemail.CfnIdentity.MailFromAttributesProperty
Pythonaws_cdk.aws_pinpointemail.CfnIdentity.MailFromAttributesProperty
TypeScript aws-cdk-lib » aws_pinpointemail » CfnIdentity » MailFromAttributesProperty

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

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpointemail as pinpointemail } from 'aws-cdk-lib';
const mailFromAttributesProperty: pinpointemail.CfnIdentity.MailFromAttributesProperty = {
  behaviorOnMxFailure: 'behaviorOnMxFailure',
  mailFromDomain: 'mailFromDomain',
};

Properties

NameTypeDescription
behaviorOnMxFailure?stringThe action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
mailFromDomain?stringThe name of a domain that an email identity uses as a custom MAIL FROM domain.

behaviorOnMxFailure?

Type: string (optional)

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.


mailFromDomain?

Type: string (optional)

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