Stop
- class aws_cdk.aws_ses_actions.Stop(*, topic=None)
Bases:
object
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon 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_actions as ses_actions import aws_cdk.aws_sns as sns # topic: sns.Topic stop = ses_actions.Stop( topic=topic )
- Parameters:
topic (
Optional
[ITopic
]) – The SNS topic to notify when the stop action is taken.
Methods
- bind(_rule)
Returns the receipt rule action specification.
- Parameters:
_rule (
IReceiptRule
) –- Return type: