Interface CfnIdentity.MailFromAttributesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIdentity.MailFromAttributesProperty.Jsii$Proxy
- Enclosing class:
CfnIdentity
@Stability(Stable)
public static interface CfnIdentity.MailFromAttributesProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.pinpointemail.*;
MailFromAttributesProperty mailFromAttributesProperty = MailFromAttributesProperty.builder()
.behaviorOnMxFailure("behaviorOnMxFailure")
.mailFromDomain("mailFromDomain")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIdentity.MailFromAttributesPropertystatic final classAn implementation forCfnIdentity.MailFromAttributesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBehaviorOnMxFailure
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 toRejectMessage, Amazon Pinpoint returns aMailFromDomainNotVerifiederror, and doesn't attempt to deliver the email.These behaviors are taken when the custom MAIL FROM domain configuration is in the
Pending,Failed, andTemporaryFailurestates.- See Also:
-
getMailFromDomain
The name of a domain that an email identity uses as a custom MAIL FROM domain.- See Also:
-
builder
-