java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ses.actions.WorkMail
All Implemented Interfaces:
IReceiptRuleAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:44.910Z") @Stability(Stable) public class WorkMail extends software.amazon.jsii.JsiiObject implements IReceiptRuleAction
Integrates an Amazon WorkMail action into a receipt rule set, and optionally publishes a notification to Amazon SNS.

Beware that WorkMail should already set up an active INBOUND_MAIL rule set that includes a WorkMail rule action for this exact purpose. This action should be used to customize the behavior of replacement rule set.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ses.actions.*;
 import software.amazon.awscdk.services.sns.*;
 Topic topic;
 WorkMail workMail = WorkMail.Builder.create()
         .organizationArn("organizationArn")
         // the properties below are optional
         .topic(topic)
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A fluent builder for WorkMail.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ses.IReceiptRuleAction

    IReceiptRuleAction.Jsii$Default, IReceiptRuleAction.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    WorkMail(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    WorkMail(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the receipt rule action specification.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • WorkMail

      protected WorkMail(software.amazon.jsii.JsiiObjectRef objRef)
    • WorkMail

      protected WorkMail(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • WorkMail

      @Stability(Stable) public WorkMail(@NotNull WorkMailProps props)
      Parameters:
      props - This parameter is required.
  • Method Details