Class WorkMail
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.121.0 (build d7af9b9)",
date="2025-12-18T18:20:18.210Z")
@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 ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ses.IReceiptRuleAction
IReceiptRuleAction.Jsii$Default, IReceiptRuleAction.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionWorkMail(WorkMailProps props) protectedWorkMail(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedWorkMail(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(IReceiptRule _rule) 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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
- Parameters:
props- This parameter is required.
-
-
Method Details
-
bind
Returns the receipt rule action specification.- Specified by:
bindin interfaceIReceiptRuleAction- Parameters:
_rule- This parameter is required.
-