https://aws.amazon.com/blogs/compute/node-js-18-x-runtime-now-available-in-aws-lambda/
🔹 Node.js 18 is now supported by Lambda. When building your Lambda functions using the zip archive packaging style, use a runtime parameter value of
nodejs18.x to get started building with Node.js 18.🔸 For existing Node.js functions, review your code for compatibility with Node.js 18, including deprecations, then migrate to the new runtime by changing the function’s runtime configuration to
nodejs18.x.#Lambda