CloudWatch warning
AWS Lambda plans to remove support for callback-based function handlers starting with Node.js 24. You will need to update this function to use an async handler to use Node.js 24 or later. For more information and to provide feedback on this change, see aws/aws-lambda-nodejs-runtime-interface-client#137
Action items
- Conditionalize support for older Node.js versions, namely
18 and 22 releases.
- Note version specific support in the documentation.