(cli): hot-swap Lambda Layers attached to functions #19172
Labels
effort/medium
Medium work item – several days of effort
feature/enhancement
A new API to make things easier or more intuitive. A catch-all for general feature requests.
feature-request
A feature should be added or improved.
hotswap
p2
package/tools
Related to AWS CDK Tools or CLI
Description
I'd like the CDK CLI to support hot-swapping Lambda layers and associated lambda functions.
Use Case
I'm developing a Lambda Extension in a Lambda Layer while the Layer is attached to a Lambda function. Whenever I hit save in CDK watch mode, the CDK CLI uses CloudFormation to deploy the changes and takes 90-100 seconds every time.
Proposed Solution
I'm not familiar with the hot-swap code, but I think you could create a new layer version with the uploaded asset and update the functions it's attached to.
Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: