@Internal public static interface IEmailMapping.Jsii$Default extends IEmailMapping
IEmailMapping.IEmailMapping.Jsii$Default, IEmailMapping.Jsii$Proxy| 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.
|
default 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 default 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']
getTargetEmails in interface IEmailMapping@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.
getReceiveEmail in interface IEmailMapping@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.
getReceivePrefix in interface IEmailMappingCopyright © 2021. All rights reserved.