StopActionConfig

class aws_cdk.aws_ses.StopActionConfig(*, scope, topic_arn=None)

Bases: object

StopAction configuration.

Parameters:
  • scope (str) – The scope of the StopAction. The only acceptable value is RuleSet.

  • topic_arn (Optional[str]) – The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. Default: - No notification is sent to SNS.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ses as ses

stop_action_config = ses.StopActionConfig(
    scope="scope",

    # the properties below are optional
    topic_arn="topicArn"
)

Attributes

scope

The scope of the StopAction.

The only acceptable value is RuleSet.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-stopaction.html#cfn-ses-receiptrule-stopaction-scope

topic_arn

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.

Default:
  • No notification is sent to SNS.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-stopaction.html#cfn-ses-receiptrule-stopaction-topicarn