# StopActionConfig

StopAction 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#L165)

## 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 stopActionConfig: ses.StopActionConfig = {
  scope: 'scope',

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

## Properties

- `scope`: string (required) — The scope of the StopAction.

  The only acceptable value is RuleSet.

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

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