AWS Lambda Supports Node.js 4.3

Posted on: Apr 7, 2016

You can now develop your AWS Lambda functions using Node.js 4.3.2 in addition to Node.js 0.10.4. In addition to the leveraging new features in Node.js 4.3 such as ES6 support, Lambda functions written in Node.js 4.3 can now use standard Node.js callback conventions to specify error or return values for the function execution. Previously, returning values from a Lambda function required the use of methods specific to the Lambda programming model. See our documentation to learn more about implementing callbacks within Lambda functions.

To get started deploying your Node.js code as a Lambda function, you simply upload your node code as a ZIP through the AWS CLI or AWS Lambda console and select the Node.js 4.3 runtime. Lambda takes care of everything required to run and scale your function with high availability. Customers with existing Node.js functions (running on 0.10) can switch to the new runtime by editing their function configuration to set the runtime to “nodejs4.3” and making necessary changes to be compatible with the new runtime. We recommend you review the Node.js runtime changes between v0.10 and v4 on GitHub to determine any additional changes required.

Read about the Node programming model in the AWS Lambda documentation and our blog post to learn more about writing functions in Node 4.3. Please visit our product page for more information about AWS Lambda.