@Generated(value="jsii-pacmak/1.21.0 (build 4262b22)", date="2021-02-28T10:11:05.681Z") @Stability(value=Stable) public interface IEmailMapping extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IEmailMapping.Jsii$Default
Internal default implementation for
IEmailMapping. |
static class |
IEmailMapping.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
default String |
getReceiveEmail()
You can define a string that is matching an email address, e.g.
|
default String |
getReceivePrefix()
A short way to match a specific email addresses by only providing a prefix, e.g.
|
List<String> |
getTargetEmails()
A list of target email addresses that should receive the forwarded emails for the given email addresses matched by either `receiveEmail` or `receivePrefix`.
|
@Stability(value=Stable) @NotNull List<String> getTargetEmails()
Make sure that you only specify email addresses that are verified by SES. Otherwise SES won't send them out.
Example: ['foobar@gmail.com', 'foo+bar@gmail.com', 'whatever@example.org']
@Stability(value=Stable) @Nullable default String getReceiveEmail()
If this property is defined, the receivePrefix will be ignored. You must define either this property or receivePrefix, otherwise no emails will be forwarded.
@Stability(value=Stable) @Nullable default String getReceivePrefix()
IEmailForwardingRuleProps. If an email was sent to this specific email address, all emails matching this receiver will be forwarded to all email addresses defined in `targetEmails`.
If receiveEmail property is defined as well, then receiveEmail is preferred. Hence, only define one of them.
Copyright © 2021. All rights reserved.