Interface WorkMailProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WorkMailProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:50.721Z")
@Stability(Stable)
public interface WorkMailProps
extends software.amazon.jsii.JsiiSerializable
Construction properties for a WorkMail action.
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;
WorkMailProps workMailProps = WorkMailProps.builder()
.organizationArn("organizationArn")
// the properties below are optional
.topic(topic)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forWorkMailPropsstatic final classAn implementation forWorkMailProps -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkMailProps.Builderbuilder()The WorkMail organization ARN.default ITopicgetTopic()The SNS topic to notify when the WorkMail action is taken.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOrganizationArn
The WorkMail organization ARN.Amazon WorkMail organization ARNs are in the form
arn:aws:workmail:region:account_ID:organization/organization_IDExample:
"arn:aws:workmail:us-east-1:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7";
-
getTopic
The SNS topic to notify when the WorkMail action is taken.Default: - no topic will be attached to the action
-
builder
- Returns:
- a
WorkMailProps.BuilderofWorkMailProps
-