Class EmailForwardingRuleSet

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.59.0 (build eb02c92)",
               date="2022-06-01T13:32:59.407Z")
    @Stability(Stable)
    public class EmailForwardingRuleSet
    extends software.constructs.Construct
    A construct for AWS SES to forward all emails of certain domains and email addresses to a list of target email addresses.

    It also verifies (or at least initiates verification of) the related domains and email addresses in SES.

    The construct can be helpful if you don't want to host your own SMTP server but still want to receive emails to your existing email inbox. One use case is if you're just building some sort of landing page and want to quickly setup email receiving for your domain without yet another separate email inbox.

    This construct can...

    • create a new receipt rule set (or use an existing one),
    • attach a list of rules to forward incoming emails to other target email addresses,
    • verify a given domain in SES (automatically if domain is managed by Route53, otherwise it'll just initiate the verification),
    • initiate verification for all target email addresses that are provided for receiving the forwarded emails.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  EmailForwardingRuleSet.Builder
      A fluent builder for EmailForwardingRuleSet.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Constructor Detail

      • EmailForwardingRuleSet

        protected EmailForwardingRuleSet​(software.amazon.jsii.JsiiObjectRef objRef)
      • EmailForwardingRuleSet

        protected EmailForwardingRuleSet​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • EmailForwardingRuleSet

        @Stability(Stable)
        public EmailForwardingRuleSet​(@NotNull
                                      software.constructs.Construct parent,
                                      @NotNull
                                      String name,
                                      @NotNull
                                      EmailForwardingRuleSetProps props)
        Parameters:
        parent - This parameter is required.
        name - This parameter is required.
        props - This parameter is required.
    • Method Detail

      • getEmailForwardingMappings

        @Stability(Stable)
        @NotNull
        public List<Object> getEmailForwardingMappings()
      • getRuleSet

        @Stability(Stable)
        @NotNull
        public software.amazon.awscdk.services.ses.IReceiptRuleSet getRuleSet()