lambda
AWS Lambda serverless functions for event-driven compute. Use when creating functions, configuring triggers, debugging invocations, optimizing cold starts, setting up event source mappings, or managing layers.
npx skills add itsmostafa/aws-agent-skills --skill lambda --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# AWS Lambda AWS Lambda runs code without provisioning servers. You pay only for compute time consumed. Lambda automatically scales from a few requests per day to thousands per second. ## Table of Contents - [Core Concepts](#core-concepts) - [Common Patterns](#common-patterns) - [CLI Reference](#cli-reference) - [Best Practices](#best-practices) - [Troubleshooting](#troubleshooting) - [References](#references) ## Core Concepts ### Function Your code packaged with configuration. Includes runtime, handler, memory, timeout, and IAM role. ### Invocation Types | Type | Description | Use Case | |------|-------------|----------| | **Synchronous** | Caller waits for response | API Gateway, direct invoke | | **Asynchronous** | Fire and forget | S3, SNS, EventBridge | | **Poll-based** | Lambda polls source | SQS, Kinesis, DynamoDB Streams | ### Execution Environment Lambda creates execution environments to run your function. Components: - **Cold start**: New environment initialization - **Warm start**: Reusing existing environment - **Handler**: Entry point function - **Context**: Runtime information ### Layers Reusable packages of libraries, dependencies, or custom runtimes (up to 5 per fun
- Table of Contents
- Core Concepts
- Function
- Invocation Types
- Execution Environment
- Layers
- Common Patterns
- Create a Python Function
- Add S3 Trigger
- Add SQS Event Source
- Environment Variables
- Create and Attach Layer
- Invoke Function
- CLI Reference
Create deployment package zip function.zip lambda_function.py Create function aws lambda create-function \ Update function code aws lambda update-function-code \ Add permission for S3 to invoke Lambda aws lambda add-permission \ Configure S3 notification (see S3 skill) aws lambda create-event-source-mapping \
What does the lambda skill do?
AWS Lambda serverless functions for event-driven compute. Use when creating functions, configuring triggers, debugging invocations, optimizing cold starts, setting up event source mappings, or managing layers.
How do I install it?
Run `npx skills add itsmostafa/aws-agent-skills --skill lambda --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From itsmostafa/aws-agent-skills, a repository with 1,139 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
