feat(custom-resource): universal loggingConfig for all custom resource providers #30777
Open
2 tasks
Labels
@aws-cdk/custom-resources
Related to AWS CDK Custom Resources
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
CDK has some built-in custom resources that come with providers with
LoggingConfig
undefined. This may violate some cooperation compliance requirements.We need an approach to allow users to specify an universal or custom LoggingConfig for all those lambda providers.
Use Case
To make sure all lambda functions CDK auto generates have
LoggingConfig
configured with custom retention period.Proposed Solution
Not sure what would be the best solution but at this moment, users would have to write a custom function or Aspects.
Let's say if we need to ensure all custom resources behind the
eks.Cluster
has LoggingConfig defined:Other Information
No response
Acknowledgements
CDK version used
2.147.0
Environment details (OS name and version, etc.)
all
The text was updated successfully, but these errors were encountered: