WorkMail
- class aws_cdk.aws_ses_actions.WorkMail(*, organization_arn, topic=None)
Bases:
object
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.- See:
https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-workmail.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ses_actions as ses_actions from aws_cdk import aws_sns as sns # topic: sns.Topic work_mail = ses_actions.WorkMail( organization_arn="organizationArn", # the properties below are optional topic=topic )
- Parameters:
organization_arn (
str
) – The WorkMail organization ARN. Amazon WorkMail organization ARNs are in the formarn:aws:workmail:region:account_ID:organization/organization_ID
topic (
Optional
[ITopic
]) – The SNS topic to notify when the WorkMail action is taken. Default: - no topic will be attached to the action
Methods
- bind(_rule)
Returns the receipt rule action specification.
- Parameters:
_rule (
IReceiptRule
) –- Return type: