events: log group target #20855
Labels
@aws-cdk/aws-events
Related to CloudWatch Events
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
In #10598, the author added support for CloudWatch Logs log group as a target of an EventBridge event bus. The author noted that at that time, CloudFormation did not have support for CWL resource policy, they used a custom lambda to manipulate the policy. Since then, CFN added the resource support and another author added support in #17015.
Now the custom resource added in #10598 can be removed in favour of the native support.
Note that this may be a breaking change as CDK needs to manage the resource policy by importing it to the stack.
Use Case
Removing tech debt. Custom resource lambda functions require S3 bucket to provision the code.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.29.0
Environment details (OS name and version, etc.)
N/A
The text was updated successfully, but these errors were encountered: