@Generated(value="jsii-pacmak/1.21.0 (build 4262b22)", date="2021-02-28T10:11:05.672Z") @Stability(value=Stable) public interface IEmailForwardingProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IEmailForwardingProps.Jsii$Default
Internal default implementation for
IEmailForwardingProps. |
static class |
IEmailForwardingProps.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
default software.amazon.awscdk.services.s3.Bucket |
getBucket()
Optional: an S3 bucket to store the received emails.
|
default String |
getBucketPrefix()
Optional: a prefix for the email files that are stored on the S3 bucket.
|
String |
getDomainName()
The domain name for which you want to receive emails using SES, e.g.
|
List<IEmailMapping> |
getEmailMappings()
A list of email mappings to define the receive email address and target email addresses to which the emails are forwarded to.
|
String |
getFromPrefix()
A prefix that is used as the sender address of the forwarded mail, e.g.
|
default software.amazon.awscdk.services.sns.Topic |
getNotificationTopic()
Optional: an SNS topic to receive notifications about sending events like bounces or complaints.
|
default List<String> |
getNotificationTypes()
Optional: a list of
NotificationTypes to define which sending events should be subscribed. |
default Boolean |
getVerifyDomain()
Optional: true if you want to verify the domain identity in SES, false otherwise.
|
default Boolean |
getVerifyTargetEmailAddresses()
Optional: true if you want to initiate the verification of your target email addresses, false otherwise.
|
@Stability(value=Stable) @NotNull String getDomainName()
@Stability(value=Stable) @NotNull List<IEmailMapping> getEmailMappings()
IEmailMapping@Stability(value=Stable) @NotNull String getFromPrefix()
@Stability(value=Stable) @Nullable default software.amazon.awscdk.services.s3.Bucket getBucket()
If none is provided, a new one will be created.
Default: A new bucket.
@Stability(value=Stable) @Nullable default String getBucketPrefix()
Default: inbox/
@Stability(value=Stable) @Nullable default software.amazon.awscdk.services.sns.Topic getNotificationTopic()
The events are defined by notificationTypes using {@link NotificationType}. If no topic is defined, a new one will be created.
Default: A new SNS topic.
@Stability(value=Stable) @Nullable default List<String> getNotificationTypes()
NotificationTypes to define which sending events should be subscribed.
Default: ['Bounce', 'Complaint']
@Stability(value=Stable) @Nullable default Boolean getVerifyDomain()
Default: false
@Stability(value=Stable) @Nullable default Boolean getVerifyTargetEmailAddresses()
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.
Default: false
Copyright © 2021. All rights reserved.