![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ses.kotlin.outputs.EmailIdentityMailFromAttributes.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ses.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Used to enable or disable the custom Mail-From domain configuration for an email identity.
* @property behaviorOnMxFailure 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.
* @property mailFromDomain The custom MAIL FROM domain that you want the verified identity to use
*/
public data class EmailIdentityMailFromAttributes(
public val behaviorOnMxFailure: String? = null,
public val mailFromDomain: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ses.outputs.EmailIdentityMailFromAttributes): EmailIdentityMailFromAttributes = EmailIdentityMailFromAttributes(
behaviorOnMxFailure = javaType.behaviorOnMxFailure().map({ args0 -> args0 }).orElse(null),
mailFromDomain = javaType.mailFromDomain().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy