Interface EmailMapping
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EmailMapping.Jsii$Proxy
@Generated(value="jsii-pacmak/1.59.0 (build eb02c92)", date="2022-06-01T13:32:59.409Z") @Stability(Stable) public interface EmailMapping extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEmailMapping.BuilderA builder forEmailMappingstatic classEmailMapping.Jsii$ProxyAn implementation forEmailMapping
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static EmailMapping.Builderbuilder()default StringgetReceiveEmail()You can define a string that is matching an email address, e.g.default StringgetReceivePrefix()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`.
-
-
-
Method Detail
-
getTargetEmails
@Stability(Stable) @NotNull 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`.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']
-
getReceiveEmail
@Stability(Stable) @Nullable default String getReceiveEmail()
You can define a string that is matching an email address, e.g. `hello@example.org`.If this property is defined, the
receivePrefixwill be ignored. You must define either this property orreceivePrefix, otherwise no emails will be forwarded.
-
getReceivePrefix
@Stability(Stable) @Nullable default String getReceivePrefix()
A short way to match a specific email addresses by only providing a prefix, e.g. `hello`. The prefix will be combined with the given domain name fromEmailForwardingRuleProps. 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
receiveEmailproperty is defined as well, thenreceiveEmailis preferred. Hence, only define one of them.
-
builder
@Stability(Stable) static EmailMapping.Builder builder()
- Returns:
- a
EmailMapping.BuilderofEmailMapping
-
-