Lambda Web
AWS Lambda Web Functions is a capability of AWS Lambda that you can use to run web applications and API backends as serverless HTTP servers. Your code listens…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
AWS Lambda Web Functions is a capability of AWS Lambda that you can use to run web applications and API backends as serverless HTTP servers. Your code listens on a network port and handles requests directly. You can use familiar Node.js web frameworks such as Express, Hono, or React Router with no Lambda-specific adapters or wrappers. You develop and run your server locally like any other Node.js web app. Lambda creates an HTTPS endpoint, manages the execution environments, and scales your application with traffic, including to zero when it's idle. To reduce latency for globally distributed users, you can deploy across multiple AWS Regions behind a single endpoint. A Web Function has one or more immutable revisions (code and configuration) and one or more endpoints that expose it over HTTPS. Use Web Functions for workloads that receive and respond to HTTP traffic directly. Common use cases include: Web applications – Deploy full-stack or front-end applications that serve HTML, assets, and API routes from a single deployment. REST and GraphQL APIs – Build API backends that serve high request volumes. Microservices – Run HTTP services that scale independently with traffic, including to zero when idle. Server-side rendering (SSR) – Serve pages that are rendered on the server at request time rather than pre-built. A Web Function runs your framework's production server directly. This suits applications that render personalized or frequently changing content on each request. Streaming responses – Stream output to the client as it is produced, such as responses from a large language model. For event-driven processing, such as handling queue messages or file uploads, use Lambda Event Functions instead. For more information about Web Functions, see Lambda Web Functions in the AWS Lambda Developer Guide .
Endpoints 20
Web function
- PUTCreate web function
/2025-03-07/web-functionsCreates a web function with an initial revision and endpoint. To create a web function, you provide the function name, revision configuration (code and… - POSTList web functions
/2025-03-07/web-functionsLists web functions in your account. Use pagination to ensure that the operation returns quickly and successfully. - GETGet web function
/2025-03-07/web-functions/:functionNameRetrieves details about a web function, including its current state and configuration. - DELETEDelete web function
/2025-03-07/web-functions/:functionNameDeletes a web function and all of its associated revisions and endpoints. To use this operation, you must have the DeleteWebFunction permission on the web…
Web function endpoint
- PUTCreate web function endpoint
/2025-03-07/web-functions/:functionName/endpointsCreates an endpoint for a web function. An endpoint exposes the web function over HTTPS and routes traffic to one or more revisions. To use this operation,… - GETGet web function endpoint
/2025-03-07/web-functions/:functionName/endpoints/:endpointNameRetrieves details about a web function endpoint, including its current state, configuration, and domain name. - DELETEDelete web function endpoint
/2025-03-07/web-functions/:functionName/endpoints/:endpointNameDeletes a web function endpoint. - PATCHUpdate web function endpoint
/2025-03-07/web-functions/:functionName/endpoints/:endpointNameUpdates the configuration of a web function endpoint. You can modify the authorization type, auto-deployment mode, revision weights, scaling, and throttling… - POSTList web function endpoints
/2025-03-07/web-functions/:functionName/list-endpointsLists endpoints for a web function. Use pagination to ensure that the operation returns quickly and successfully.
Web function revision
- POSTCreate web function revision
/2025-03-07/web-functions/:functionName/revisionsCreates an immutable revision for a web function. A revision represents a specific version of the function code and configuration. To use this operation, you… - GETGet web function revision
/2025-03-07/web-functions/:functionName/revisions/:revisionIdRetrieves details about a web function revision, including its state and configuration. - DELETEDelete web function revision
/2025-03-07/web-functions/:functionName/revisions/:revisionIdDeletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint. - POSTList web function revisions
/2025-03-07/web-functions/:functionName/list-revisionsLists revisions for a web function. Use pagination to ensure that the operation returns quickly and successfully.
- GETGet resource policy
/2025-03-07/resource-policy/:resourceArnRetrieves the resource-based policy attached to a web function. - PUTPut resource policy
/2025-03-07/resource-policy/:resourceArnAdds or updates a resource-based policy on a web function. A resource-based policy grants permissions to other AWS accounts or services to perform actions on… - DELETEDelete resource policy
/2025-03-07/resource-policy/:resourceArn?RevisionId=stringRemoves the resource-based policy from a web function. - GETGet web account settings
/2025-03-07/web-account-settingsRetrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your… - GETList tags
/2025-03-07/tags/:resourceReturns a list of tags applied to a web function. - POSTTag resource
/2025-03-07/tags/:resourceAdds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value. - DELETEUntag resource
/2025-03-07/tags/:resource?tagKeys=Removes tags from a web function.
API details
- Base URL
https://lambda.{region}.amazonaws.com- Authentication
- AWS Signature Version 4 (requests signed with your AWS access key)
- Operations
- 20 operations on 11 pathsGET 6POST 5DELETE 5PUT 3PATCH 1
- Main resources
- Web function endpoint 5Web function 4Web function revision 4
- Description format
- AWS Smithy model, API version
2025-03-07 - Links
- Documentation · OpenAPI document
- Listed from
- AWS Smithy API model (aws/api-models-aws) (Apache-2.0)
How to test the Lambda Web in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Lambda Web collection, without the publisher's secrets.
- Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Create web function” (PUT /2025-03-07/web-functions), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Lambda Web?
AWS Lambda Web Functions is a capability of AWS Lambda that you can use to run web applications and API backends as serverless HTTP servers. Your code listens… It is listed under Developer tools and has 20 endpoints.
Who publishes the Lambda Web?
It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Lambda Web?
Requests go to https://lambda.{region}.amazonaws.com. Endpoint paths are added to this base URL.
How do I authenticate with the Lambda Web?
With AWS Signature Version 4 (requests signed with your AWS access key).
How many endpoints does the Lambda Web have?
20 operations on 11 paths (6 GET, 5 POST, 5 DELETE, 3 PUT, 1 PATCH). The largest groups are Web function endpoint, Web function, Web function revision.
Is forking the Lambda Web free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.