@Generated(value="jsii-pacmak/1.28.0 (build 1801f4f)", date="2021-05-11T06:53:16.837Z") @Stability(value=Stable) public interface EmailMapping extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
EmailMapping.Builder
A builder for
EmailMapping |
static class |
EmailMapping.Jsii$Proxy
An implementation for
EmailMapping |
| Modifier and Type | Method and Description |
|---|---|
static EmailMapping.Builder |
builder() |
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()
EmailForwardingRuleProps. 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.
@Stability(value=Stable) static EmailMapping.Builder builder()
EmailMapping.Builder of EmailMappingCopyright © 2021. All rights reserved.