aws-cdk-examples
aws-cdk-examples copied to clipboard
Update Lambda examples to use NODEJS_18_X
Describe the feature
Update Lambda examples to use NODEJS_18_X
Use Case
There are multiple examples on Lambda Node.js 10.x and 12.x which are no longer supported by Lambda:
- 10.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_10_X&type=code
- 12.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_12_X&type=code
And per official documentation, Node.js 14.x and 16.x will be following deprecation phase 1 on Nov 27, 2023 and Jun 12, 2024 respectively. These are also used in CDK examples:
- 14.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_14_X&type=code
- 16.x https://github.com/search?q=repo%3Aaws-samples%2Faws-cdk-examples%20NODEJS_16_X&type=code
Proposed Solution
Upgrade all examples to use NODEJS_18_X
Announcement blog post https://aws.amazon.com/blogs/compute/node-js-18-x-runtime-now-available-in-aws-lambda/
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
Language
Typescript