# FirehoseDeliveryStreamDestination

An object that defines an Amazon Data Firehose destination for email events.

- Source: [`aws-ses/lib/configuration-set-event-destination.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ses/lib/configuration-set-event-destination.ts#L254)
- Type last changed: v2.185.0 · 19 Mar 2025

## Example

```ts
import * as iam from 'aws-cdk-lib/aws-iam';
import * as firehose from 'aws-cdk-lib/aws-kinesisfirehose';

declare const myConfigurationSet: ses.ConfigurationSet;
declare const firehoseDeliveryStream: firehose.IDeliveryStream;
declare const iamRole: iam.IRole;

// Create IAM Role automatically
myConfigurationSet.addEventDestination('ToFirehose', {
  destination: ses.EventDestination.firehoseDeliveryStream({
    deliveryStream: firehoseDeliveryStream,
  }),
})

// Specify your IAM Role
myConfigurationSet.addEventDestination('ToFirehose', {
  destination: ses.EventDestination.firehoseDeliveryStream({
    deliveryStream: firehoseDeliveryStream,
    role: iamRole,
  }),
})
```

## Properties

- `deliveryStream`: [IDeliveryStream](/cdk/api/v2/docs/aws-cdk-lib.aws_kinesisfirehose.IDeliveryStream.html) (required) — The Amazon Data Firehose stream that the Amazon SES API v2 sends email events to.

- `role`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — The IAM role that the Amazon SES API v2 uses to send email events to the Amazon Data Firehose stream.

  **Default:** Create IAM Role for Amazon Data Firehose Delivery stream
