EmailIdentityMailFromAttributesArgs

data class EmailIdentityMailFromAttributesArgs(val behaviorOnMxFailure: Output<String>? = null, val mailFromDomain: Output<String>? = null) : ConvertibleToJava<EmailIdentityMailFromAttributesArgs>

Used to enable or disable the custom Mail-From domain configuration for an email identity.

Constructors

Link copied to clipboard
constructor(behaviorOnMxFailure: Output<String>? = null, mailFromDomain: Output<String>? = null)

Properties

Link copied to clipboard
val behaviorOnMxFailure: Output<String>? = null

The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

Link copied to clipboard
val mailFromDomain: Output<String>? = null

The custom MAIL FROM domain that you want the verified identity to use

Functions

Link copied to clipboard
open override fun toJava(): EmailIdentityMailFromAttributesArgs