aws-lambda
Manage serverless functions and event-driven compute.
TLDR
Create a function from a ZIP file
SYNOPSIS
aws lambda command [options]
DESCRIPTION
aws lambda is the AWS CLI interface for AWS Lambda, a serverless compute service that runs code in response to events without provisioning or managing servers. Lambda automatically scales and handles high availability.
Lambda supports multiple runtimes including Python, Node.js, Java, Go, Ruby, .NET, and custom runtimes. Functions can be triggered by AWS services, HTTP requests via API Gateway, or direct invocation.
COMMANDS
create-function
Create a new Lambda functiondelete-function
Delete a functioninvoke
Execute a function synchronouslylist-functions
List all functionsupdate-function-code
Deploy new function codeupdate-function-configuration
Change function settingspublish-version
Create an immutable version snapshotcreate-alias
Create a pointer to a function versioncreate-event-source-mapping
Connect function to event sourcepublish-layer-version
Create a reusable code layeradd-permission
Grant invoke access to other services
CAVEATS
Functions have a 15-minute maximum timeout. Deployment package size is limited to 50MB zipped (250MB unzipped). Cold starts add latency on first invocation. Concurrent execution limits apply per account and region. VPC-connected functions may have longer cold starts.
HISTORY
AWS Lambda launched in November 2014 as the first major serverless compute service. It initially supported only Node.js. Python support came in 2015, and custom runtimes in 2018. Lambda@Edge for CloudFront, container image support, and Lambda URLs have expanded its use cases significantly.
SEE ALSO
aws(1), aws-apigateway(1), aws-events(1)
