@aws-cdk/aws-pipes-alpha
: add missing L2 constructs that implement ILogDestination
interface
#31671
Labels
@aws-cdk/aws-logs
Related to Amazon CloudWatch Logs
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Current Behavior
Currently, to add a CloudWatch log group as a destination for a Pipe, developers must manually implement the
ILogDestination
interface:Proposed Solution
We should introduce three new L2 constructs implementing the
ILogDestination
interface to improve developer experience. The expected usage would be more straightforward:Implementation Details
We need to create three classes that implement
ILogDestination
, corresponding to the options defined in theLogDestinationParameters
interface:CloudwatchLogsLogDestination
FirehoseLogDestination
S3LogDestination
These class names align with the existing property names in the
LogDestinationParameters
interface:Use Case
This enhancement will significantly improve the developer experience when working with log destinations in CDK Pipes, making it more consistent with the expected L2 construct patterns.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.161.1
Environment details (OS name and version, etc.)
Ubuntu 24.04
The text was updated successfully, but these errors were encountered: