Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

aws-lambda-web-functions

БесплатноБез исполняемых скриптовНе проверен

Creates and deploys Node.js HTTP web applications on AWS Lambda Web Functions. Guides users through building web apps and APIs with Express, Fastify, or Hono…

awsот aws★ 3 696 звёзд на GitHub

Об этом скилле

AWS Lambda Web Functions

The AWS MCP server is recommended for sandboxed execution and audit logging.

If aws lambda-web is not recognized, update the AWS CLI (see references/deployment.md). A missing command means an outdated CLI, not an unavailable feature.

Help users build and deploy Node.js HTTP applications on AWS Lambda Web Functions. Your app listens on a port, handles HTTP natively, and gets a global HTTPS URL. Develop locally with node index.js, deploy the same code to AWS.

When to Use Web Functions

  • Interactive HTTP traffic someone is waiting on: web app, HTTP API, or SSR site.
  • The app is already a port-listening HTTP server (Express, Fastify, Hono) and should stay one — no handler rewrite, no adapter library.
  • Handlers are I/O-bound (database, cache, another API, a model endpoint), so many requests share one execution environment and time spent waiting on I/O is not billed as CPU.
  • Response streaming matters: SSE, chunked transfer, or proxying LLM tokens as they are produced.
  • The endpoint should be reachable worldwide on one hostname without assembling CloudFront, API Gateway and Route53 by hand.
  • Traffic is spiky or unpredictable and should scale to zero.

Hard preconditions

Any "no" rules Web Functions out. Invoke the aws-serverless skill to find a suitable service.

  • Runtime is Node.js — nodejs24.x. Python, Java, Go, .NET and Rust are not supported. Confirm the supported runtime list with aws lambda-web help or the AWS docs before routing a caller away.
  • Every native dependency has an arm64 (Graviton) build.
  • The work is an HTTP request/response (or stream) that a caller is waiting on. Queue, event-stream source (Kinesis, DynamoDB Streams), schedule, or event trigger are not supported.
  • One request completes within the 900 s (15 min) request timeout.
  • The app fits a 512 MB package and a 2 vCPU / 2 GB environment (see Service Limits).
  • Environments are stateless — any environment can serve any request. There is no affinity between an end user's session and a specific environment.
  • The app tolerates sharing an environment with concurrent requests. Strict per-request isolation is not supported.

Use Cases

"What I'm building" → how it lands here.

The user is building Shape on Web Functions
JSON HTTP API or REST backend Express or Hono router, I/O-bound handlers, DynamoDB or RDS behind it → architecture-patterns.md
Server-side-rendered site or app Render HTML per request from index.js; no bundler needed unless you author JSX → architecture-patterns.md
LLM or AI gateway streaming tokens to a browser SSE or chunked responses; raise timeoutSeconds to cover the whole stream, not just the first byte → architecture-patterns.md
Webhook receiver (Stripe, GitHub, Slack) Verify the sender's signature against a signing secret from Secrets Manager before acting on the payload, then acknowledge fast and finish the work after responding — the environment stays running → architecture-patterns.md
Mobile or web backend-for-frontend aggregating several services One environment fans several requests out concurrently, and time spent waiting is not billed as CPU
Single-page app plus its API from one deployment express.static for the bundle, /*splat fallback for client routes → static-assets.md
Internal service-to-service HTTP endpoint authType: IamAuth, so only SigV4-signed callers reach it → iam-and-security.md
Globally low-latency endpoint on a single hostname MultiRegion endpoint plus a region-agnostic app → domains-and-routing.md
App that calls RDS, ElastiCache or other private VPC resources An egress network connector referenced from the revision; the endpoint stays public → networking.md

Workflow

Default to the aws lambda-web CLI — it's the quickest path. Use aws lambda-web deploy when the user asks for a single command or says they already deploy with it. It packages, uploads and creates or updates a project directory in one command, and --hello-world scaffolds and deploys a starter app (see Deploy (CLI) below). Otherwise use the steps below. Use CloudFormation, CDK, SAM or Terraform when the user wants infrastructure-as-code or a repeatable production stack (see references/infrastructure-as-code.md).

Creating a function for the first time:

  1. Scaffold - Express is inline below; for Hono or Fastify, read references/frameworks.md
  2. Choose endpoint auth — ask the user before deploying (see below); endpoints are public unless they pick IamAuth
  3. **Test locally
Полный SKILL.md на GitHub

Установить aws-lambda-web-functions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/architecture-patterns.mdreferences/deployment.mdreferences/domains-and-routing.mdreferences/frameworks.mdreferences/getting-started.mdreferences/iam-and-security.mdreferences/infrastructure-as-code.mdreferences/migration.mdreferences/networking.mdreferences/observability.mdreferences/scaling-and-concurrency.mdreferences/static-assets.mdreferences/troubleshooting.md

FAQ

Что делает скилл aws-lambda-web-functions?

Creates and deploys Node.js HTTP web applications on AWS Lambda Web Functions. Guides users through building web apps and APIs with Express, Fastify, or Hono, packaging, deploying via the aws lambda-web CLI, and iterating. Triggers when user wants to deploy a website or web app to AWS as serverless, deploy a Node.js HTTP server to AWS, build a serverless website or API with Node.js, deploy Express/Hono/Fastify apps, set up multi-region HTTP endpoints, connect a Node.js web app to private VPC resources, or explicitly mentions Lambda Web Functions. Does NOT trigger for non-Node.js runtimes or frameworks such as Flask or Django, event-driven patterns (SQS, Kinesis, S3 events), or container deployments.

Как установить скилл aws-lambda-web-functions?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл aws-lambda-web-functions запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить aws-lambda-web-functions с