AWS Lambda
AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers. Lambda runs your code on high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, and logging.
APIs
AWS Lambda API
The AWS Lambda REST API enables you to create, manage, and invoke Lambda functions programmatically. Supports function management, event source mappings, aliases, versions, and ...
AWS Lambda Extensions API
The Lambda Extensions API enables you to create extensions that integrate with the Lambda execution environment lifecycle. Extensions can run as companion processes alongside yo...
AWS Lambda Telemetry API
The Lambda Telemetry API lets you collect telemetry data directly from the Lambda execution environment. Extensions can subscribe to telemetry streams for platform telemetry, fu...
AWS Lambda Runtime API
The Lambda Runtime API enables you to use custom runtimes to run functions in any programming language. The runtime API provides an HTTP API for custom runtimes to receive invoc...
AWS Lambda Logs API
The Lambda Logs API enables extensions to subscribe to log streams generated by the Lambda platform, function code, and extensions within the execution environment, providing ac...
Features
Run code without provisioning or managing servers, paying only for the compute time consumed.
Automatically trigger functions from over 200 AWS services and SaaS applications via event source mappings.
Automatically scale from zero to thousands of concurrent executions in response to incoming events.
Dedicated HTTPS endpoints for Lambda functions that can be invoked directly without API Gateway.
Package shared libraries, custom runtimes, and dependencies as layers reusable across multiple functions.
Pre-initialize function instances to reduce cold start latency for latency-sensitive workloads.
Improve startup performance for Java functions by caching initialized snapshots of the execution environment.
Integrate monitoring, observability, and security tools directly into the Lambda execution environment.
Package and deploy Lambda functions as container images up to 10 GB in size.
Run functions on ARM-based AWS Graviton2 processors for better price-performance.
Use Cases
Automatically process files uploaded to S3, such as image resizing, video transcoding, or document indexing.
Process real-time streaming data from Kinesis or DynamoDB Streams for analytics, monitoring, or ETL pipelines.
Build scalable API backends using Lambda with API Gateway or Function URLs for web and mobile applications.
Process IoT device data from AWS IoT Core for device management, telemetry analysis, and alerting.
Run periodic tasks like database cleanup, report generation, or data synchronization using EventBridge rules.
Automate build, test, and deployment workflows by triggering Lambda functions from CodePipeline or GitHub events.
Integrations
Trigger functions on object creation, deletion, or modification events in S3 buckets.
Create RESTful and WebSocket APIs that invoke Lambda functions as backend handlers.
Process DynamoDB Streams events to react to table changes in real time.
Poll SQS queues and invoke Lambda functions with batches of messages for asynchronous processing.
Subscribe Lambda functions to SNS topics for fan-out event processing patterns.
Process real-time streaming data from Kinesis Data Streams with configurable batch sizes and parallelization.
Route events from AWS services, SaaS applications, and custom sources to Lambda functions based on rules.
Orchestrate Lambda functions into complex workflows with branching, error handling, and parallel execution.
Event Specifications
AWS Lambda Event Triggers
AWS Lambda integrates with other AWS services to invoke functions in response to events. Lambda functions can be triggered by event sources including Amazon S3, Amazon DynamoDB ...
ASYNCAPI