# ConfigurationSetEventDestinationOptions

Options for a configuration set event destination.

- Source: [`aws-ses/lib/configuration-set-event-destination.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-ses/lib/configuration-set-event-destination.ts#L29)
- Type last changed: v2.74.0 · 13 Apr 2023

## Example

```ts
import * as events from 'aws-cdk-lib/aws-events';

declare const myConfigurationSet: ses.ConfigurationSet;

const bus = events.EventBus.fromEventBusName(this, 'EventBus', 'default');

myConfigurationSet.addEventDestination('ToEventBus', {
  destination: ses.EventDestination.eventBus(bus),
})
```

## Properties

- `configurationSetEventDestinationName`: string = a CloudFormation generated name — A name for the configuration set event destination.

- `destination`: [EventDestination](/cdk/api/v2/docs/aws-cdk-lib.aws_ses.EventDestination.html) (required) — The event destination.

- `enabled`: boolean = true — Whether Amazon SES publishes events to this destination.

- `events`: [EmailSendingEvent](/cdk/api/v2/docs/aws-cdk-lib.aws_ses.EmailSendingEvent.html)[] = send all event types — The type of email sending events to publish to the event destination.
