aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.7k stars 3.93k forks source link

aws-logs-destinations: Missing `FirehoseDestination` or `DataFirehoseDestination` #32038

Open czechnology opened 2 weeks ago

czechnology commented 2 weeks ago

Describe the feature

Currently, the aws_cdk.aws_logs_destinations package only contains KinesisDestination and LambdaDestination. However, logs subscriptions are possible also to Amazon Data Firehose, yet there seems to be no way to configure such subscription using CDK at the moment?

Use Case

I want to subscribe to CloudWatch Logs with Firehose as the destionation, as per this example in docs. My particular use case is forwarding of logs from CloudWatch to Dynatrace using Firehose.

Proposed Solution

Add a [Data]FirehoseDestination class to aws_logs_destinations.

Other Information

No response

Acknowledgements

CDK version used

2.159.1

Environment details (OS name and version, etc.)

WSL2, Python 3.12

ashishdhingra commented 2 weeks ago

Valid feature request.