AWS Lambda
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Tools for Working With AWS Lambda

In addition to the Lambda console, you can use the following tools to manage and invoke Lambda resources.

AWS Command Line Interface

Install the AWS Command Line Interface to manage and use Lambda functions from the command line. Tutorials in this guide use the AWS CLI, which has commands for all Lambda API actions. Some functionality is not available in the Lambda console and can only be accessed with the AWS CLI or the AWS SDK.

To set up the AWS CLI, see the following topics in the AWS Command Line Interface User Guide.

To verify that the AWS CLI is configured correctly, run the list-functions command to see a list of your Lambda functions in the current region.

$ aws lambda list-functions

AWS Serverless Application Model

AWS SAM is an extension for the AWS CloudFormation template language that lets you define serverless applications at a higher level. It abstracts away common tasks such as function role creation, which makes it easier to write templates. AWS SAM is supported directly by AWS CloudFormation, and includes additional functionality through the AWS CLI and AWS SAM CLI.

For more information about AWS SAM templates, see AWS SAM Template Basics in the AWS Serverless Application Model Developer Guide.

SAM CLI

The AWS SAM CLI is a separate command line tool that you can use to manage and test AWS SAM applications. In addition to commands for uploading artifacts and launching AWS CloudFormation stacks that are also available in the AWS CLI, the SAM CLI provides additional commands for validating templates and running applications locally in a Docker container.

To set up the AWS SAM CLI, see Installing the AWS SAM CLI in the AWS Serverless Application Model Developer Guide.

Code Authoring Tools

You can author your Lambda function code in the languages that are supported by AWS Lambda. For a list of supported languages, see AWS Lambda Runtimes. There are tools for authoring code, such as the AWS Lambda console, Eclipse IDE, and Visual Studio IDE. But the available tools and options depend on the following:

  • Language you choose to write your Lambda function code.

  • Libraries that you use in your code. AWS Lambda runtime provides some of the libraries and you must upload any additional libraries that you use.

The following table lists languages, and the available tools and options that you can use.

Language Tools and Options for Authoring Code

Node.js

Java

C#

Python

Ruby

  • AWS Lambda console

  • Your own authoring environment

Go

  • Your own authoring environment

PowerShell