interface WorkmailActionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SES.CfnReceiptRule.WorkmailActionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnReceiptRule_WorkmailActionProperty |
![]() | software.amazon.awscdk.services.ses.CfnReceiptRule.WorkmailActionProperty |
![]() | aws_cdk.aws_ses.CfnReceiptRule.WorkmailActionProperty |
![]() | aws-cdk-lib » aws_ses » CfnReceiptRule » WorkmailActionProperty |
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
Name | Type | Description |
---|---|---|
organization | string | The Amazon Resource Name (ARN) of the Amazon WorkMail organization. Amazon WorkMail ARNs use the following format:. |
topic | string | The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. |
organizationArn
Type:
string
The Amazon Resource Name (ARN) of the Amazon WorkMail organization. Amazon WorkMail ARNs use the following format:.
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 .
topicArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called.
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 .