AWS Lambda
Developer Guide

AWS Lambda Releases

The following table describes the important changes to the AWS Lambda Developer Guide after May 2018. For notification about updates to this documentation, subscribe to the RSS feed.

Change Description Date

Ruby

AWS Lambda now supports Ruby 2.5 with a new runtime See Building Lambda Functions with Ruby for details.

November 29, 2018

Layers

With Lambda layers, you can package and deploy libraries, custom runtimes, and other dependencies separately from your function code. Share your layers with your other accounts or the whole world. See AWS Lambda Layers for details.

November 29, 2018

Custom Runtimes

Build a custom runtime to run Lambda functions in your favorite programming language. See Custom AWS Lambda Runtimes for details.

November 29, 2018

Application Load Balancer Triggers

Elastic Load Balancing now supports Lambda functions as a target for Application Load Balancers. See Using Lambda with Application Load Balancers for details.

November 29, 2018

Use Kinesis HTTP/2 Stream Consumers as a Trigger

You can use Kinesis HTTP/2 data stream consumers to send events to AWS Lambda. Stream consumers have dedicated read throughput from each shard in your data stream and use HTTP/2 to minimize latency. See Using AWS Lambda with Kinesis for details.

November 19, 2018

Python 3.7

AWS Lambda now supports Python 3.7 with a new runtime. For more information, see Building Lambda Functions with Python.

November 19, 2018

Asynchronous function invocation payload limit increase

The maximum payload size for asynchronous invocations increased from 128 KB to 256 KB, matching the maximum message size from an Amazon SNS trigger. See AWS Lambda Limits for details.

November 16, 2018

AWS GovCloud (US-East) Region

AWS Lambda is now available in the AWS GovCloud (US-East) region. For details, see AWS GovCloud (US-East) Now Open on the AWS blog.

November 12, 2018

Moved AWS SAM topics to a separate Developer Guide

A number of topics were focused on building serverless applications using the AWS Serverless Application Model (AWS SAM). These topics have been moved to AWS Serverless Application Model Developer Guide.

October 25, 2018

View Lambda applications in the console

You can view the status of your Lambda applications on the Applications page in the Lambda console. This page shows the status of the AWS CloudFormation stack. It includes links to pages where you can view more information about the resources in the stack. You can also view aggregate metrics for the application and create custom monitoring dashboards.

October 11, 2018

Function execution timeout limit

To allow for long-running functions, the maximum configurable execution timeout increased from 5 minutes to 15 minutes. See AWS Lambda Limits for details.

October 10, 2018

Support for PowerShell Core language in AWS Lambda

AWS Lambda now supports the PowerShell Core language. For more information, see Programming Model for Authoring Lambda Functions in PowerShell.

September 11, 2018

Support for .NET Core 2.1.0 runtime in AWS Lambda

AWS Lambda now supports the .NET Core 2.1.0 runtime. For more information, see .NET Core CLI.

July 9, 2018

Updates now available over RSS

You can now subscribe to an RSS feed to receive notifications to the AWS Lambda Developer Guide.

July 5, 2018

Support for Amazon SQS as event source

AWS Lambda now supports Amazon Simple Queue Service (Amazon SQS) as an event source. For more information, see Invoking Lambda Functions.

June 28, 2018

China (Ningxia) Region

AWS Lambda is now available in the China (Ningxia) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

June 28, 2018

Earlier Updates

The following table describes the important changes in each release of the AWS Lambda Developer Guide before June 2018.

Change Description Date
Runtime support for Node.js runtime 8.10

AWS Lambda now supports Node.js runtime version 8.10. For more information, see Building Lambda Functions with Node.js.

April 2, 2018
Function and alias revision IDs

AWS Lambda now supports revision IDs on your function versions and aliases. You can use these IDs to track and apply conditional updates when you are updating your function version or alias resources.

January 25, 2018
Runtime support for Go and .NET 2.0

AWS Lambda has added runtime support for Go and .NET 2.0. For more information, see Building Lambda Functions with Go and Building Lambda Functions with C#.

January 15, 2018
Console Redesign

AWS Lambda has introduced a new Lambda console to simplify your experience and added a Cloud9 Code Editor to enhance your ability debug and revise your function code. For more information, see Creating Functions Using the AWS Lambda Console Editor.

November 30,2017
Setting Concurrency Limits on Individual Functions

AWS Lambda now supports setting concurrency limits on individual functions. For more information, see Managing Concurrency.

November 30,2017
Shifting Traffic with Aliases

AWS Lambda now supports shifting traffic with aliases. For more information, see Traffic Shifting Using Aliases.

November 28, 2017
Gradual Code Deployment

AWS Lambda now supports safely deploying new versions of your Lambda function by leveraging Code Deploy. For more information, see Gradual Code Deployment.

November 28, 2017
China (Beijing) Region

AWS Lambda is now available in the China (Beijing) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

November 9, 2017
Introducing SAM Local

AWS Lambda introduces SAM Local (now known as SAM CLI), a AWS CLI tool that provides an environment for you to develop, test, and analyze your serverless applications locally before uploading them to the Lambda runtime. For more information, see Testing and Debugging Serverless Applications.

August 11, 2017
Canada (Central) Region

AWS Lambda is now available in the Canada (Central) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

June 22, 2017
South America (São Paulo) Region

AWS Lambda is now available in the South America (São Paulo) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

June 6, 2017
AWS Lambda support for AWS X-Ray. Lambda introduces support for X-Ray, which allows you to detect, analyze, and optimize performance issues with your Lambda applications. For more information, see Using AWS X-Ray. April 19, 2017
Asia Pacific (Mumbai) Region

AWS Lambda is now available in the Asia Pacific (Mumbai) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

March 28, 2017
AWS Lambda now supports Node.js runtime v6.10

AWS Lambda added support for Node.js runtime v6.10. For more information, see Building Lambda Functions with Node.js.

March 22, 2017
EU (London) Region

AWS Lambda is now available in the EU (London) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

February 1, 2017
AWS Lambda support for the .NET runtime, Lambda@Edge (Preview), Dead Letter Queues and automated deployment of serverless applications.

AWS Lambda introduces the following features:

  • AWS Lambda added support for C#. For more information, see Building Lambda Functions with C#.

  • Lambda@Edge (Preview) allows you to run Lambda functions at the AWS Edge locations in response to CloudFront events. For more information, see Lambda@Edge.

  • Added a tutorial for automating deployment of serverless applications using AWS CodePipeline, AWS CodeBuild and AWS CloudFormation. For more information, see Deploying Serverless Applications.

  • Updated Using Amazon CloudWatch to include a section on Dead Letter Queues, which you can configure to retrieve information on failed asynchronous invocations of Lambda functions.

December 3, 2016
AWS Lambda adds Amazon Lex as a supported event source.

Using Lambda and Amazon Lex, you can quickly build chat bots for various services like Slack and Facebook. For more information, see Amazon Lex.

November 30, 2016
US West (N. California) Region

AWS Lambda is now available in the US West (N. California) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

November 21, 2016
Introduced the AWS Serverless Application Model for creating and deploying Lambda-based applications and using environment variables for Lambda function configuration settings.

AWS Lambda introduces the following features in this release.

  • AWS Serverless Application Model: You can now use the AWS SAM to define the syntax for expressing resources within a serverless application. In order to deploy your application, simply specify the resources you need as part of your application, along with their associated permissions policies in a AWS CloudFormation template file (written in either JSON or YAML), package your deployment artifacts, and deploy the template. For more information, see AWS Lambda Applications.

  • Environment variables: You can use environment variables to specify configuration settings for your Lambda function outside of your function code. For more information, see AWS Lambda Environment Variables.

November 18, 2016
Added a tutorial under Getting Started for creating an Amazon API Gateway endpoint using the Lambda console

The tutorial instructs how to seamlessly integrate a Lambda function with an API via new features introduced in Configure Proxy Integration for a Proxy Resource. For more information, see Create a Simple Microservice using Lambda and API Gateway.

August 29, 2016
Asia Pacific (Seoul) Region

AWS Lambda is now available in the Asia Pacific (Seoul) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

August 29, 2016
Asia Pacific (Sydney) Region

Lambda is now available in the Asia Pacific (Sydney) Region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

June 23, 2016
Updates to the Lambda console

The Lambda console has been updated to simplify the role-creation process. For more information, see Create a Lambda Function with the Console.

June 23, 2016
AWS Lambda now supports Node.js runtime v4.3

AWS Lambda added support for Node.js runtime v4.3. For more information, see Building Lambda Functions with Node.js.

April 07, 2016
EU (Frankfurt) region

Lambda is now available in the EU (Frankfurt) region. For more information about Lambda regions and endpoints, see Regions and Endpoints in the AWS General Reference.

March 14, 2016

VPC support

You can now configure a Lambda function to access resources in your VPC. For more information, see Configuring a Lambda Function to Access Resources in an Amazon VPC.

February 11, 2016

Content reorganization

The reorganized content now provides the following:

  • Getting Started – Contains a console-based exercise in which you create a Hello World Lambda function. You explore the AWS Lambda console features, including blueprints that enable you to create Lambda functions with just a few clicks. 

  • Use Cases – Provides examples of how to use AWS Lambda with other AWS services or your custom applications as event sources, invoke over HTTPS, and set up AWS Lambda to invoke your Lambda function at scheduled interval.

  • Programming Model – Explains programming model core concepts and describes language-specific details. Regardless of the language you choose, there is a common pattern to writing code for a Lambda function.

  • Creating a Deployment Package – Explains how to create deployment packages for Lambda function code that is authored in languages supported by AWS Lambda (Python, Java, and Node.js).

December 9, 2015

AWS Lambda runtime has been updated.

AWS Lambda runtime has been updated with the following SDK and Linux kernel versions in this release:

  • AWS SDK for JavaScript: 2.2.12

  • Boto SDK: 1.2.1

  • Linux kernel version: 4.9.62-21.56.amzn1.x86_64

For more information, see Lambda Execution Environment and Available Libraries.

November 4, 2015

Versioning support, Python for developing code for Lambda functions, scheduled events, and increase in execution time

AWS Lambda introduces the following features in this release.

  • Python: You can now develop your Lambda function code using Python. For more information, see Programming Model.

  • Versioning: You can maintain one or more versions of your Lambda function. Versioning allows you to control which Lambda function version is executed in different environments (for example, development, testing, or production). For more information, see AWS Lambda Function Versioning and Aliases.

  • Scheduled events: You can also set up AWS Lambda to invoke your code on a regular, scheduled basis using the AWS Lambda console. You can specify a fixed rate (number of hours, days, or weeks) or you can specify a cron expression. For an example, see Using AWS Lambda with Amazon CloudWatch Events.

  • Increase in execution time: You can now set up your Lambda functions to run for up to five minutes allowing longer running functions such as large volume data ingestion and processing jobs. 

October 08, 2015

Two new walkthroughs

The following new walkthroughs are added. They both use Java Lambda function.

Tutorial: Using AWS Lambda with Amazon DynamoDB Streams

Using AWS Lambda as an Android Mobile Application Backend

August 27, 2015

Support for DynamoDB Streams

DynamoDB Streams is now generally available and you can use it in all the regions where DynamoDB is available. You can enable DynamoDB Streams for your table and use a Lambda function as a trigger for the table. Triggers are custom actions you take in response to updates made to the DynamoDB table. For an example walkthrough, see Tutorial: Using AWS Lambda with Amazon DynamoDB Streams .

July 14, 2015

AWS Lambda now supports invoking Lambda functions with REST-compatible clients.

Until now, to invoke your Lambda function from your web, mobile, or IoT application you needed the AWS SDKs (for example, AWS SDK for Java, AWS SDK for Android, or AWS SDK for iOS). Now, AWS Lambda supports invoking a Lambda function with REST-compatible clients through a customized API that you can create using Amazon API Gateway. You can send requests to your Lambda function endpoint URL. You can configure security on the endpoint to allow open access, leverage AWS Identity and Access Management (IAM) to authorize access, or use API keys to meter access to your Lambda functions by others.

For an example Getting Started exercise, see Using AWS Lambda with Amazon API Gateway.

For more information about the Amazon API Gateway, see https://aws.amazon.com/api-gateway/.

July 09, 2015

The AWS Lambda console now provides blueprints to easily create Lambda functions and test them.

AWS Lambda console provides a set of blueprints. Each blueprint provides a sample event source configuration and sample code for your Lambda function that you can use to easily create Lambda-based applications. All of the AWS Lambda Getting Started exercises now use the blueprints. For more information, see Getting Started.

In this release

AWS Lambda now supports Java to author your Lambda functions.

You can now author Lambda code in Java. For more information, see Programming Model.

June 15, 2015

AWS Lambda now supports specifying an Amazon S3 object as the function .zip when creating or updating a Lambda function.

You can upload a Lambda function deployment package (.zip file) to an Amazon S3 bucket in the same region where you want to create a Lambda function. Then, you can specify the bucket name and object key name when you create or update a Lambda function.

May 28, 2015

AWS Lambda now generally available with added support for mobile backends

AWS Lambda is now generally available for production use. The release also introduces new features that make it easier to build mobile, tablet, and Internet of Things (IoT) backends using AWS Lambda that scale automatically without provisioning or managing infrastructure. AWS Lambda now supports both real-time (synchronous) and asynchronous events. Additional features include easier event source configuration and management. The permission model and the programming model have been simplified by the introduction of resource policies for your Lambda functions.

The documentation has been updated accordingly. For information, see the following topics:

Getting Started

AWS Lambda

April 9, 2015
Preview release

Preview release of the AWS Lambda Developer Guide.

November 13, 2014

On this page: