You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a mode to BundlingOptions where it will import only a explicit written list of files/directories as opposed to the current pattern using asset_excludes
Use Case
I propose adding a mode to the BundlingOptions in the CDK that allows for specifying assets to include explicitly, rather than excluding assets. This inclusion mode will simplify configurations where only a few files or directories need to be bundled, enhancing clarity and reducing configuration complexity.
This feature will benefit AWS Lambda functions by potentially reducing deployment package size, thereby improving cold start times.
Here's some example of my current configuration and as can be seen, this can be tedious as more libraries are included
Add an asset_includes attribute to BundlingOptions that works similarly to asset_excludes but specifies which assets to include, and have both options mutually exclusive
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
CDK version used
2.144.0
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered:
Describe the feature
Add a mode to BundlingOptions where it will import only a explicit written list of files/directories as opposed to the current pattern using asset_excludes
Use Case
I propose adding a mode to the BundlingOptions in the CDK that allows for specifying assets to include explicitly, rather than excluding assets. This inclusion mode will simplify configurations where only a few files or directories need to be bundled, enhancing clarity and reducing configuration complexity.
This feature will benefit AWS Lambda functions by potentially reducing deployment package size, thereby improving cold start times.
Here's some example of my current configuration and as can be seen, this can be tedious as more libraries are included
Proposed Solution
Add an asset_includes attribute to BundlingOptions that works similarly to asset_excludes but specifies which assets to include, and have both options mutually exclusive
Other Information
No response
Acknowledgements
CDK version used
2.144.0
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: