# BounceActionConfig

BoundAction configuration.

- Source: [`aws-ses/lib/receipt-rule-action.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ses/lib/receipt-rule-action.ts#L35)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const bounceActionConfig: ses.BounceActionConfig = {
  message: 'message',
  sender: 'sender',
  smtpReplyCode: 'smtpReplyCode',

  // the properties below are optional
  statusCode: 'statusCode',
  topicArn: 'topicArn',
};
```

## Properties

- `message`: string (required) — Human-readable text to include in the bounce message.

- `sender`: string (required) — The email address of the sender of the bounced email.

  This is the address that the bounce message is sent from.

- `smtpReplyCode`: string (required) — The SMTP reply code, as defined by RFC 5321.

- `statusCode`: string — The SMTP enhanced status code, as defined by RFC 3463.

  **Default:** No status code.

- `topicArn`: string — The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.

  **Default:** No notification is sent to SNS.
