ReceiptRuleActionConfig

class aws_cdk.aws_ses.ReceiptRuleActionConfig(*, add_header_action=None, bounce_action=None, lambda_action=None, s3_action=None, sns_action=None, stop_action=None, workmail_action=None)

Bases: object

Properties for a receipt rule action.

Parameters
  • add_header_action (Optional[AddHeaderActionConfig]) – Adds a header to the received email.

  • bounce_action (Optional[BounceActionConfig]) – Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon SNS.

  • lambda_action (Optional[LambdaActionConfig]) – Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

  • s3_action (Optional[S3ActionConfig]) – Saves the received message to an Amazon S3 bucket and, optionally, publishes a notification to Amazon SNS.

  • sns_action (Optional[SNSActionConfig]) – Publishes the email content within a notification to Amazon SNS.

  • stop_action (Optional[StopActionConfig]) – Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

  • workmail_action (Optional[WorkmailActionConfig]) – Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.

Attributes

add_header_action

Adds a header to the received email.

Return type

Optional[AddHeaderActionConfig]

bounce_action

Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon SNS.

Return type

Optional[BounceActionConfig]

lambda_action

Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.

Return type

Optional[LambdaActionConfig]

s3_action

Saves the received message to an Amazon S3 bucket and, optionally, publishes a notification to Amazon SNS.

Return type

Optional[S3ActionConfig]

sns_action

Publishes the email content within a notification to Amazon SNS.

Return type

Optional[SNSActionConfig]

stop_action

Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

Return type

Optional[StopActionConfig]

workmail_action

Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.

Return type

Optional[WorkmailActionConfig]