# Amazon Simple Email Service Actions Library

This module contains integration classes to add action to SES email receiving rules.
Instances of these classes should be passed to the `rule.addAction()` method.

Currently supported are:

* [Add header](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-add-header.html)
* [Bounce](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-bounce.html)
* [Lambda](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html)
* [S3](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-s3.html)
* [SNS](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-sns.html)
* [WorkMail](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-workmail.html)
* [Stop](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-stop.html)

See the README of `aws-cdk-lib/aws-ses` for more information.

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`AddHeader`](/v2/docs/aws-cdk-lib.aws_ses_actions.AddHeader) | Class | Adds a header to the received email. |
| [`AddHeaderProps`](/v2/docs/aws-cdk-lib.aws_ses_actions.AddHeaderProps) | Struct | Construction properties for a add header action. |
| [`Bounce`](/v2/docs/aws-cdk-lib.aws_ses_actions.Bounce) | Class | Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon SNS. |
| [`BounceProps`](/v2/docs/aws-cdk-lib.aws_ses_actions.BounceProps) | Struct | Construction properties for a bounce action. |
| [`BounceTemplate`](/v2/docs/aws-cdk-lib.aws_ses_actions.BounceTemplate) | Class | A bounce template. |
| [`BounceTemplateProps`](/v2/docs/aws-cdk-lib.aws_ses_actions.BounceTemplateProps) | Struct | Construction properties for a BounceTemplate. |
| [`EmailEncoding`](/v2/docs/aws-cdk-lib.aws_ses_actions.EmailEncoding) | Enum | The type of email encoding to use for a SNS action. |
| [`Lambda`](/v2/docs/aws-cdk-lib.aws_ses_actions.Lambda) | Class | Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS. |
| [`LambdaInvocationType`](/v2/docs/aws-cdk-lib.aws_ses_actions.LambdaInvocationType) | Enum | The type of invocation to use for a Lambda Action. |
| [`LambdaProps`](/v2/docs/aws-cdk-lib.aws_ses_actions.LambdaProps) | Struct | Construction properties for a Lambda action. |
| [`S3`](/v2/docs/aws-cdk-lib.aws_ses_actions.S3) | Class | Saves the received message to an Amazon S3 bucket and, optionally, publishes a notification to Amazon SNS. |
| [`S3Props`](/v2/docs/aws-cdk-lib.aws_ses_actions.S3Props) | Struct | Construction properties for a S3 action. |
| [`Sns`](/v2/docs/aws-cdk-lib.aws_ses_actions.Sns) | Class | Publishes the email content within a notification to Amazon SNS. |
| [`SnsProps`](/v2/docs/aws-cdk-lib.aws_ses_actions.SnsProps) | Struct | Construction properties for a SNS action. |
| [`Stop`](/v2/docs/aws-cdk-lib.aws_ses_actions.Stop) | Class | Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS. |
| [`StopProps`](/v2/docs/aws-cdk-lib.aws_ses_actions.StopProps) | Struct | Construction properties for a stop action. |
| [`WorkMail`](/v2/docs/aws-cdk-lib.aws_ses_actions.WorkMail) | Class | Integrates an Amazon WorkMail action into a receipt rule set, and optionally publishes a notification to Amazon SNS. |
| [`WorkMailProps`](/v2/docs/aws-cdk-lib.aws_ses_actions.WorkMailProps) | Struct | Construction properties for a WorkMail action. |
