@Stability(value=Stable) public static final class EmailForwardingProps.Builder extends Object implements software.amazon.jsii.Builder<EmailForwardingProps>
EmailForwardingProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public EmailForwardingProps.Builder domainName(String domainName)
EmailForwardingProps.getDomainName()domainName - The domain name for which you want to receive emails using SES, e.g. `example.org`. This parameter is required.this@Stability(value=Stable) public EmailForwardingProps.Builder emailMappings(List<? extends EmailMapping> emailMappings)
EmailForwardingProps.getEmailMappings()emailMappings - A list of email mappings to define the receive email address and target email addresses to which the emails are forwarded to. This parameter is required.this@Stability(value=Stable) public EmailForwardingProps.Builder fromPrefix(String fromPrefix)
EmailForwardingProps.getFromPrefix()fromPrefix - A prefix that is used as the sender address of the forwarded mail, e.g. `noreply`. This parameter is required.this@Stability(value=Stable) public EmailForwardingProps.Builder bucket(software.amazon.awscdk.services.s3.Bucket bucket)
EmailForwardingProps.getBucket()bucket - Optional: an S3 bucket to store the received emails.
If none is provided, a new one will be created.this@Stability(value=Stable) public EmailForwardingProps.Builder bucketPrefix(String bucketPrefix)
EmailForwardingProps.getBucketPrefix()bucketPrefix - Optional: a prefix for the email files that are stored on the S3 bucket.this@Stability(value=Stable) public EmailForwardingProps.Builder notificationTopic(software.amazon.awscdk.services.sns.Topic notificationTopic)
EmailForwardingProps.getNotificationTopic()notificationTopic - Optional: an SNS topic to receive notifications about sending events like bounces or complaints.
The events are defined by notificationTypes using {@link NotificationType}. If no topic is defined, a new one will be created.this@Stability(value=Stable) public EmailForwardingProps.Builder notificationTypes(List<String> notificationTypes)
EmailForwardingProps.getNotificationTypes()notificationTypes - Optional: a list of NotificationTypes to define which sending events should be subscribed.this@Stability(value=Stable) public EmailForwardingProps.Builder verifyDomain(Boolean verifyDomain)
EmailForwardingProps.getVerifyDomain()verifyDomain - Optional: true if you want to verify the domain identity in SES, false otherwise.this@Stability(value=Stable) public EmailForwardingProps.Builder verifyTargetEmailAddresses(Boolean verifyTargetEmailAddresses)
EmailForwardingProps.getVerifyTargetEmailAddresses()verifyTargetEmailAddresses - Optional: true if you want to initiate the verification of your target email addresses, false otherwise.
If true, a verification email is sent out to all target email addresses. Then, the owner of an email address needs to verify it by clicking the link in the verification email.
Please note in case you don't verify your sender domain, it's required to verify your target email addresses in order to send mails to them.this@Stability(value=Stable) public EmailForwardingProps build()
build in interface software.amazon.jsii.Builder<EmailForwardingProps>EmailForwardingPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.