WorkmailActionProperty Struct
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 { aws_ses as ses } from 'aws-cdk-lib';
const workmailActionProperty: ses.CfnReceiptRule.WorkmailActionProperty = {
organizationArn: 'organizationArn',
// the properties below are optional
topicArn: 'topicArn',
};
Properties
organizationArnstringorganization_arnstrorganizationArnStringOrganizationArnstringOrganizationArn*stringrequired#notes
arn:aws:workmail:<region>:<awsAccountId>:organization/<workmailOrganizationId>
You can find the ID of your organization by using the ListOrganizations operation in Amazon WorkMail. Amazon WorkMail organization IDs begin with " m- ", followed by a string of alphanumeric characters.
For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide .
topicArnoptionalstringtopic_arnoptionalstrtopicArnoptionalStringTopicArnoptionalstringTopicArnoptional*string#notes
You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .