@Stability(value=Stable) @Internal public static final class EmailMapping.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EmailMapping
EmailMappingsoftware.amazon.jsii.JsiiObject.InitializationModeEmailMapping.Builder, EmailMapping.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(List<String> targetEmails,
String receiveEmail,
String receivePrefix)
Constructor that initializes the object based on literal property values passed by the
EmailMapping.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getReceiveEmail()
You can define a string that is matching an email address, e.g.
|
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`.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(List<String> targetEmails, String receiveEmail, String receivePrefix)
EmailMapping.Builder.public final List<String> getTargetEmails()
EmailMappingMake 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 EmailMappingpublic final String getReceiveEmail()
EmailMapping
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 EmailMappingpublic final String getReceivePrefix()
EmailMappingEmailForwardingRuleProps. 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 EmailMapping@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.