Interface CfnReceiptRule.WorkmailActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnReceiptRule.WorkmailActionProperty.Jsii$Proxy
Enclosing class:
CfnReceiptRule

@Stability(Stable) public static interface CfnReceiptRule.WorkmailActionProperty extends software.amazon.jsii.JsiiSerializable
When included in a receipt rule, this action calls Amazon WorkMail and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

It usually isn't necessary to set this up manually, because Amazon WorkMail adds the rule automatically during its setup procedure.

For information using a receipt rule to call Amazon WorkMail, see the Amazon SES Developer Guide .

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.*;
 WorkmailActionProperty workmailActionProperty = WorkmailActionProperty.builder()
         .organizationArn("organizationArn")
         // the properties below are optional
         .topicArn("topicArn")
         .build();