Feature request: Support for Lambda SnapStart runtime hooks
Open
area/local
area/local/invoke
type/feature
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
### Describe your idea/feature/enhancement
Add support for the SnapStart CRaC runtime hooks, beforeCheckpoint() and afterRestore(), when running `sam local`.
### Proposal
Add details of how to add this to the product.
Things to consider:
1. Will this require any updates to the [SAM Spec](https://github.com/awslabs/serverless-application-model)
This will not requires any updates to the SAM Spec. SnapStart is already supported in the SAM Spec.
### Additional Details
I would like to test the CRaC runtime hooks locally before deploying my SnapStart-enabled Lambda function to AWS.
Contributor guide
Assessment
This issue has not been assessed yet.