AWS Lambda now supports Node.js 12
You can now author your AWS Lambda functions in Node.js 12, and use its new features such as the performance improvements in the V8 engine, private class fields, and enhanced stack tracing. Lambda functions written in Node.js 12 run on the latest generation of Amazon Linux, Amazon Linux 2. You can read the Node.js programming model in the AWS Lambda documentation to learn more about writing functions in Node.js 12.
Source:: Amazon AWS