Lambdaweb
Parity grade: B · SDK aws-sdk-go-v2/service/lambdaweb@v1.2.5 · last audited 2026-11-01 (ea845bb63)
Category: Other · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 20 (20 ok) |
| Feature families | 2 (1 ok, 1 partial) |
| Known gaps | 3 |
| Structural gaps (can't be emulated) | 1 |
| Deferred items | 0 |
| Resource leaks | clean |
Known Gaps
- Execution role, key and code access: when an environment starts the execution role must exist and its trust policy must allow lambda.amazonaws.com (502 Platform.CannotAssumeRole); a revision kmsKeyArn must exist, be enabled and be a symmetric encryption key (ValidationException at creation, 502 Platform.KMSDecryptionError at launch), and under --enforce-iam its key policy must allow lambda.amazonaws.com kms:Decrypt (AccessDeniedException at creation, 502 at launch), its S3 bucket policy must allow lambda.amazonaws.com s3:GetObject (AccessDeniedException; a revision that loses access or whose object version is deleted becomes Failed at the next verification), a MultiRegion/PerRegion key needs a usable replica in every target Region (else that Region fails replication) and the execution role needs logs:CreateLogStream and logs:PutLogEvents on the log group (else no log event is delivered). Not modelled: the caller's own kms:GenerateDataKey/kms:Decrypt and s3:GetObject permission checks (the emulator's IAM enforcement does not cover lambdaweb operations), encrypting environment variables and code with the key, egressNetworkConnectorArn existence and networking (no emulated service models Lambda network connectors; services/lambda has no NetworkConnector operations), cross-account and cross-Region bucket semantics (one S3 backend serves every Region) and the 512 MB code limit at creation (enforced only when the package is extracted).
- Logs: not modelled are the totalCpuTimeMs field of platform.spinDownReport (CPU consumed during shutdown, web-functions-logging-system-log-schema; StopAndRemoveWithin in pkgs/container stops the container before any post-SIGTERM stats read is possible, so the shutdown delta is not read) and the CPU and memory fields whenever the container runtime cannot report stats (docker and podman can; the Kubernetes runtime cannot).
- Request path is full-duplex: the proxy forwards the request body while the application may already be responding, whereas Lambda forwards the full request body before it delivers the response (web-functions-troubleshooting, HTTP request failures).
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- The *.on.aws endpoint domains are not resolvable and have no TLS: reach an endpoint with the emulator port and a Host header (curl -H 'Host: <domainName>' http://localhost:4566/) or the <id>.<shard>.lambda-web.<region>.localhost form. The nodejs24.x runtime image is pulled from the runtime registry (LAMBDAWEB_RUNTIME_IMAGE).
Audited Operations
20 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateWebFunction | ok | ok | ok | ok |
GetWebFunction | ok | ok | ok | ok |
ListWebFunctions | ok | ok | ok | ok |
DeleteWebFunction | ok | ok | ok | ok |
CreateWebFunctionRevision | ok | ok | ok | ok |
GetWebFunctionRevision | ok | ok | ok | ok |
ListWebFunctionRevisions | ok | ok | ok | ok |
DeleteWebFunctionRevision | ok | ok | ok | ok |
CreateWebFunctionEndpoint | ok | ok | ok | ok |
GetWebFunctionEndpoint | ok | ok | ok | ok |
ListWebFunctionEndpoints | ok | ok | ok | ok |
UpdateWebFunctionEndpoint | ok | ok | ok | ok |
DeleteWebFunctionEndpoint | ok | ok | ok | ok |
PutResourcePolicy | ok | ok | ok | ok |
GetResourcePolicy | ok | ok | ok | ok |
DeleteResourcePolicy | ok | ok | ok | ok |
GetWebAccountSettings | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
ListTags | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
ControlPlane | ok |
DataPlane | partial |
