# BounceProps

Construction properties for a bounce action.

Extends: BounceProps
Used as props by: Bounce

- Source: [`aws-ses-actions/lib/bounce.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ses-actions/lib/bounce.ts#L69)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses_actions as ses_actions } from 'aws-cdk-lib';
import { aws_sns as sns } from 'aws-cdk-lib';

declare const bounceTemplate: ses_actions.BounceTemplate;
declare const topic: sns.Topic;
const bounceProps: ses_actions.BounceProps = {
  sender: 'sender',
  template: bounceTemplate,

  // the properties below are optional
  topic: topic,
};
```

## Properties

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

  This is the address
  from which the bounce message will be sent.

- `template`: [BounceTemplate](/cdk/api/v2/docs/aws-cdk-lib.aws_ses_actions.BounceTemplate.html) (required) — The template containing the message, reply code and status code.

- `topic`: [ITopic](/cdk/api/v2/docs/aws-cdk-lib.aws_sns.ITopic.html) — The SNS topic to notify when the bounce action is taken.

  **Default:** no notification
