public static interface CfnEmailIdentity.MailFromAttributesProperty
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.ses.*; MailFromAttributesProperty mailFromAttributesProperty = MailFromAttributesProperty.builder() .behaviorOnMxFailure("behaviorOnMxFailure") .mailFromDomain("mailFromDomain") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnEmailIdentity.MailFromAttributesProperty.Builder
A builder for
CfnEmailIdentity.MailFromAttributesProperty |
static class |
CfnEmailIdentity.MailFromAttributesProperty.Jsii$Proxy
An implementation for
CfnEmailIdentity.MailFromAttributesProperty |
Modifier and Type | Method and Description |
---|---|
static CfnEmailIdentity.MailFromAttributesProperty.Builder |
builder() |
default java.lang.String |
getBehaviorOnMxFailure()
The action to take if the required MX record isn't found when you send an email.
|
default java.lang.String |
getMailFromDomain()
The custom MAIL FROM domain that you want the verified identity to use.
|
default java.lang.String getBehaviorOnMxFailure()
When you set this value to USE_DEFAULT_VALUE
, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to REJECT_MESSAGE
, the Amazon SES API v2 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.
Valid Values: USE_DEFAULT_VALUE | REJECT_MESSAGE
default java.lang.String getMailFromDomain()
The MAIL FROM domain must meet the following criteria:
static CfnEmailIdentity.MailFromAttributesProperty.Builder builder()