Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SES: Is Firehose supported as an SES EventDestination? #30671

Open
2 tasks
zaru opened this issue Jun 26, 2024 · 1 comment
Open
2 tasks

SES: Is Firehose supported as an SES EventDestination? #30671

zaru opened this issue Jun 26, 2024 · 1 comment
Labels
@aws-cdk/aws-ses Related to Amazon Simple Email Service effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@zaru
Copy link

zaru commented Jun 26, 2024

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 zaru added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jun 26, 2024
@github-actions github-actions bot added the @aws-cdk/aws-ses Related to Amazon Simple Email Service label Jun 26, 2024
@ashishdhingra ashishdhingra self-assigned this Jun 26, 2024
@ashishdhingra ashishdhingra added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Jun 26, 2024
@ashishdhingra
Copy link
Contributor

Per CfnConfigurationSetEventDestination, kinesisFirehoseDestination is the supported option. However, L2 construct per configuration-set-event-destination doesn't appear to support it.

@zaru Feel free to contribute PR to add support. In the meanwhile, you might need to use L1 construct as a workaround.

@ashishdhingra ashishdhingra added p2 effort/medium Medium work item – several days of effort and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Jun 26, 2024
@ashishdhingra ashishdhingra removed their assignment Jun 26, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
@aws-cdk/aws-ses Related to Amazon Simple Email Service effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

2 participants