Class EmailMapping.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- de.sebastianhesse.cdk.ses.email.forwarding.EmailMapping.Jsii$Proxy
-
- All Implemented Interfaces:
EmailMapping,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EmailMapping
@Stability(Stable) @Internal public static final class EmailMapping.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EmailMapping
An implementation forEmailMapping
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface de.sebastianhesse.cdk.ses.email.forwarding.EmailMapping
EmailMapping.Builder, EmailMapping.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(EmailMapping.Builder builder)Constructor that initializes the object based on literal property values passed by theEmailMapping.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetReceiveEmail()You can define a string that is matching an email address, e.g.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`.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(EmailMapping.Builder builder)
Constructor that initializes the object based on literal property values passed by theEmailMapping.Builder.
-
-
Method Detail
-
getTargetEmails
public final List<String> getTargetEmails()
Description copied from interface:EmailMappingA 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']- Specified by:
getTargetEmailsin interfaceEmailMapping
-
getReceiveEmail
public final String getReceiveEmail()
Description copied from interface:EmailMappingYou 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.- Specified by:
getReceiveEmailin interfaceEmailMapping
-
getReceivePrefix
public final String getReceivePrefix()
Description copied from interface:EmailMappingA 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.- Specified by:
getReceivePrefixin interfaceEmailMapping
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-