aws-cli adds lambda-web deploy
Introduced 2026-10-12 · score 0.93
HOW TO USE IT
When deploying a local HTTP application, run `aws lambda-web deploy` with its function name and source directory; add `--create` to skip the creation prompt. The command creates or updates the Web Function and returns its endpoint URL.
aws lambda-web deploy --name <function-name> --code <source-directory> --createWHY THIS HELPS
Deploy a local HTTP application as an AWS Lambda Web Function from a coding repository.
REQUIREMENTS AND LIMITATIONS
- Version: 2.37.13
- --name (required): Web Function name; 2–64 characters, letters, numbers, hyphens, or underscores; cannot start or end with a hyphen or underscore.
- --code (required): Path to the source directory; required when creating a function unless using `--hello-world`.
- --create: Confirms creation without a prompt; required for creation in non-interactive environments.
- Prerequisite: AWS CLI must be installed and configured.
FIRST-PARTY EVIDENCE
- https://github.com/aws/aws-cli/blob/2.37.13/CHANGELOG.rst
- https://docs.aws.amazon.com/cli/latest/reference/lambda-web/deploy.html
- https://github.com/aws/aws-cli/blob/2.37.8/CHANGELOG.rst
Check the installed version and the source before using it. Entry JSON