WorkMailProps

class aws_cdk.aws_ses_actions.WorkMailProps(*, organization_arn, topic=None)

Bases: object

Construction properties for a WorkMail action.

Parameters:
  • organization_arn (str) – The WorkMail organization ARN. Amazon WorkMail organization ARNs are in the form arn: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

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_props = ses_actions.WorkMailProps(
    organization_arn="organizationArn",

    # the properties below are optional
    topic=topic
)

Attributes

organization_arn

The WorkMail organization ARN.

Amazon WorkMail organization ARNs are in the form arn:aws:workmail:region:account_ID:organization/organization_ID

Example:

"arn:aws:workmail:us-east-1:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7"
topic

The SNS topic to notify when the WorkMail action is taken.

Default:
  • no topic will be attached to the action