interface MailFromAttributesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.PinpointEmail.Mixins.CfnIdentityPropsMixin.MailFromAttributesProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspinpointemail/mixins#CfnIdentityPropsMixin_MailFromAttributesProperty |
Java | software.amazon.awscdk.mixins.preview.services.pinpointemail.mixins.CfnIdentityPropsMixin.MailFromAttributesProperty |
Python | aws_cdk.mixins_preview.aws_pinpointemail.mixins.CfnIdentityPropsMixin.MailFromAttributesProperty |
TypeScript | @aws-cdk/mixins-preview » aws_pinpointemail » mixins » CfnIdentityPropsMixin » 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 { mixins as pinpointemail_mixins } from '@aws-cdk/mixins-preview/aws-pinpointemail';
const mailFromAttributesProperty: pinpointemail_mixins.CfnIdentityPropsMixin.MailFromAttributesProperty = {
behaviorOnMxFailure: 'behaviorOnMxFailure',
mailFromDomain: 'mailFromDomain',
};
Properties
| Name | Type | Description |
|---|---|---|
| behavior | string | The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain. |
| mail | string | The 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.

.NET
Go
Java
Python
TypeScript