@Stability(value=Stable)
public static interface CfnIdentity.MailFromAttributesProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIdentity.MailFromAttributesProperty.Builder
A builder for
CfnIdentity.MailFromAttributesProperty |
static class |
CfnIdentity.MailFromAttributesProperty.Jsii$Proxy
An implementation for
CfnIdentity.MailFromAttributesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnIdentity.MailFromAttributesProperty.Builder |
builder() |
default String |
getBehaviorOnMxFailure()
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
|
default String |
getMailFromDomain()
The name of a domain that an email identity uses as a custom MAIL FROM domain.
|
@Stability(value=Stable) @Nullable default String getBehaviorOnMxFailure()
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.
@Stability(value=Stable) @Nullable default String getMailFromDomain()
@Stability(value=Stable) static CfnIdentity.MailFromAttributesProperty.Builder builder()
Copyright © 2022. All rights reserved.