# ConfigurationSetEventDestinationProps

Properties for a configuration set event destination.

Extends: [ConfigurationSetEventDestinationOptions](/cdk/api/v2/docs/aws-cdk-lib.aws_ses.ConfigurationSetEventDestinationOptions.html)
Used as props by: [ConfigurationSetEventDestination](/cdk/api/v2/docs/aws-cdk-lib.aws_ses.ConfigurationSetEventDestination.html)

- Source: [`aws-ses/lib/configuration-set-event-destination.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-ses/lib/configuration-set-event-destination.ts#L121)
- Type last changed: v2.235.0 · 15 Jan 2026

## Example

TypeScript:

```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';
import { aws_ses as interfaces_ses } from 'aws-cdk-lib/interfaces';

declare const configurationSetRef: interfaces_ses.IConfigurationSetRef;
declare const eventDestination: ses.EventDestination;
const configurationSetEventDestinationProps: ses.ConfigurationSetEventDestinationProps = {
  configurationSet: configurationSetRef,
  destination: eventDestination,

  // the properties below are optional
  configurationSetEventDestinationName: 'configurationSetEventDestinationName',
  enabled: false,
  events: [ses.EmailSendingEvent.SEND],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
from aws_cdk.interfaces import aws_ses as interfaces_ses

# configuration_set_ref: interfaces_ses.IConfigurationSetRef
# event_destination: ses.EventDestination

configuration_set_event_destination_props = ses.ConfigurationSetEventDestinationProps(
    configuration_set=configuration_set_ref,
    destination=event_destination,

    # the properties below are optional
    configuration_set_event_destination_name="configurationSetEventDestinationName",
    enabled=False,
    events=[ses.EmailSendingEvent.SEND]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
import software.amazon.awscdk.interfaces.ses.*;

IConfigurationSetRef configurationSetRef;
EventDestination eventDestination;

ConfigurationSetEventDestinationProps configurationSetEventDestinationProps = ConfigurationSetEventDestinationProps.builder()
        .configurationSet(configurationSetRef)
        .destination(eventDestination)

        // the properties below are optional
        .configurationSetEventDestinationName("configurationSetEventDestinationName")
        .enabled(false)
        .events(List.of(EmailSendingEvent.SEND))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
using Amazon.CDK.Interfaces.SES;

IConfigurationSetRef configurationSetRef;
EventDestination eventDestination;

var configurationSetEventDestinationProps = new ConfigurationSetEventDestinationProps {
    ConfigurationSet = configurationSetRef,
    Destination = eventDestination,

    // the properties below are optional
    ConfigurationSetEventDestinationName = "configurationSetEventDestinationName",
    Enabled = false,
    Events = new [] { EmailSendingEvent.SEND }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

var configurationSetRef IConfigurationSetRef
var eventDestination EventDestination

configurationSetEventDestinationProps := &ConfigurationSetEventDestinationProps{
	ConfigurationSet: configurationSetRef,
	Destination: eventDestination,

	// the properties below are optional
	ConfigurationSetEventDestinationName: jsii.String("configurationSetEventDestinationName"),
	Enabled: jsii.Boolean(false),
	Events: []EmailSendingEvent{
		awscdk.Aws_ses.EmailSendingEvent_SEND,
	},
}
```

## Properties

- `configurationSet`: [IConfigurationSetRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ses.IConfigurationSetRef.html) (required) — The configuration set that contains the event destination.

- `configurationSetEventDestinationName`: string — A name for the configuration set event destination.

  **Default:** a CloudFormation generated name

- `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)[] — The type of email sending events to publish to the event destination.

  **Default:** send all event types
