Node.js 18.x runtime now available in AWS Lambda | Amazon Web Services
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.