@Stability(value=Stable) public static final class EmailIdentity.Builder extends Object implements software.amazon.jsii.Builder<EmailIdentity>
EmailIdentity.| Modifier and Type | Method and Description |
|---|---|
EmailIdentity |
build() |
EmailIdentity.Builder |
configurationSet(IConfigurationSet configurationSet)
The configuration set to associate with the email identity.
|
static EmailIdentity.Builder |
create(software.constructs.Construct scope,
String id) |
EmailIdentity.Builder |
dkimIdentity(DkimIdentity dkimIdentity)
The type of DKIM identity to use.
|
EmailIdentity.Builder |
dkimSigning(Boolean dkimSigning)
Whether the messages that are sent from the identity are signed using DKIM.
|
EmailIdentity.Builder |
feedbackForwarding(Boolean feedbackForwarding)
Whether to receive email notifications when bounce or complaint events occur.
|
EmailIdentity.Builder |
identity(Identity identity)
The email address or domain to verify.
|
EmailIdentity.Builder |
mailFromBehaviorOnMxFailure(MailFromBehaviorOnMxFailure mailFromBehaviorOnMxFailure)
The action to take if the required MX record for the MAIL FROM domain isn't found when you send an email.
|
EmailIdentity.Builder |
mailFromDomain(String mailFromDomain)
The custom MAIL FROM domain that you want the verified identity to use.
|
@Stability(value=Stable) public static EmailIdentity.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.EmailIdentity.Builder.@Stability(value=Stable) public EmailIdentity.Builder identity(Identity identity)
identity - The email address or domain to verify. This parameter is required.this@Stability(value=Stable) public EmailIdentity.Builder configurationSet(IConfigurationSet configurationSet)
Default: - do not use a specific configuration set
configurationSet - The configuration set to associate with the email identity. This parameter is required.this@Stability(value=Stable) public EmailIdentity.Builder dkimIdentity(DkimIdentity dkimIdentity)
Default: - Easy DKIM with a key length of 2048-bit
dkimIdentity - The type of DKIM identity to use. This parameter is required.this@Stability(value=Stable) public EmailIdentity.Builder dkimSigning(Boolean dkimSigning)
Default: true
dkimSigning - Whether the messages that are sent from the identity are signed using DKIM. This parameter is required.this@Stability(value=Stable) public EmailIdentity.Builder feedbackForwarding(Boolean feedbackForwarding)
These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
Default: true
feedbackForwarding - Whether to receive email notifications when bounce or complaint events occur. This parameter is required.this@Stability(value=Stable) public EmailIdentity.Builder mailFromBehaviorOnMxFailure(MailFromBehaviorOnMxFailure mailFromBehaviorOnMxFailure)
Default: MailFromBehaviorOnMxFailure.USE_DEFAULT_VALUE
mailFromBehaviorOnMxFailure - The action to take if the required MX record for the MAIL FROM domain isn't found when you send an email. This parameter is required.this@Stability(value=Stable) public EmailIdentity.Builder mailFromDomain(String mailFromDomain)
The MAIL FROM domain must meet the following criteria:
Default: - use amazonses.com
mailFromDomain - The custom MAIL FROM domain that you want the verified identity to use. This parameter is required.this@Stability(value=Stable) public EmailIdentity build()
build in interface software.amazon.jsii.Builder<EmailIdentity>Copyright © 2022. All rights reserved.