aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

SES: Is Firehose supported as an SES EventDestination?

Open zaru opened this issue 8 months ago • 1 comments

Describe the feature

Add support for Amazon Kinesis Firehose as an EventDestination in the SES ConfigurationSet.

Use Case

I need this feature because I am trying to log SES sending events to S3 using Firehose for better data management and analysis. Currently, I can only use CloudWatch and SNS Topics, which limits my ability to efficiently process and store large volumes of email sending data. Having Firehose as an EventDestination would streamline my workflow and improve the overall data handling process.

Proposed Solution

No response

Other Information

const configurationSet = new ses.ConfigurationSet(this, 'SesConfigurationSet', {
  configurationSetName: 'SesConfigurationSet',
});

configurationSet.addEventDestination('EmailDeliveryEventDestination', {
  configurationSetEventDestinationName: 'EmailDeliveryEventDestination',
  destination: ses.EventDestination.firehose(firehoseStream), // I want to configure this
  enabled: true,
  events: [
    ses.EmailSendingEvent.DELIVERY,
    ses.EmailSendingEvent.OPEN,
    ses.EmailSendingEvent.BOUNCE,
    ses.EmailSendingEvent.COMPLAINT,
  ],
})

new ses.EmailIdentity(this, "Identity", {
  identity: identity
  mailFromDomain: domain
  configurationSet: configurationSet
});

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

CDK version used

2.147.1

Environment details (OS name and version, etc.)

macOS 14.5

zaru avatar Jun 26 '24 03:06 zaru