Lambda execution platform
The Lambda execution platform provides an AWS-shaped way to define functions and run them from direct calls, HTTP URLs, event sources, or durable workflows. Its control planes keep stable function targets and supporting policies. Its execution plane stores code, starts runtime environments, reuses warm capacity, and returns results or checkpointed progress. The same execution contract can launch a Docker container, a Kubernetes pod, or a local runtime process.
Service model
The platform joins resource control with runtime work. A request resolves the account, Region, function, and qualifier before the execution path selects code, applies layers and settings, and uses an existing or new environment.
This diagram shows how direct HTTP calls, source events, and durable work enter the shared execution path.
flowchart LR
A[Lambda API or function URL] --> B[Resolve function target]
C[Event source] --> D[Source poller]
D --> B
E[Durable start or wake-up] --> B
B --> F[Concurrency control]
F --> G[Warm or provisioned environment]
G --> H[Container, pod, or local process]
H --> I[Runtime API]
I --> J[Handler]
J --> K[Result, retry, checkpoint, or source progress]
Function control plane
Function resources
The function is the main resource for code and execution settings. It links a package or image to a runtime, handler, role, limits, environment, layers, network settings, logs, access policy, optional signing policy, and optional durable settings. Function references can use a name, partial ARN, or full ARN with a qualifier. The same target rules apply to reads and invokes.
Function records are account- and Region-scoped. The store restores URL lookup and preserves per-function operation locks across deletion and reset, so asynchronous work cannot write into a newly created function with the same identity.
| Function concept | System role |
|---|---|
$LATEST | Mutable function state and current deployment target |
| Published version | Immutable snapshot for stable calls |
| Alias | Named pointer to a published version with optional weighted routing |
| Function URL | HTTP entry point for a function or alias |
| Durable function | Function that owns long-running checkpointed executions |
| Layer | Shared files added to the runtime environment |
| Code-signing configuration | Policy record attached to $LATEST |
| Provisioned concurrency | Initialized environments for a stable version target |
References: src/…/LambdaService.java• L503-705 src/…/LambdaFunctionStore.java• L44-107 src/…/LambdaFunctionStore.java• L118-183 src/…/LambdaController.java• L74-143
Versions and aliases
Publishing cuts the current function state into a numbered version. The version keeps the code identity and settings needed for execution, so later $LATEST changes do not change a published target. The service avoids a duplicate version when code and configuration are unchanged. A caller can also require a matching code digest before publish.
An alias names a published version and can send part of its traffic to another version. Reads use the main version. Invokes can use weighted routing. Stable capacity uses an immutable version or an alias without weighted routing because its environments must point to one target. Alias and version records are account- and Region-scoped so a target cannot silently resolve to another owner.
References: src/…/LambdaService.java• L2635-2755 src/…/LambdaTargetResolver.java• L27-50 src/…/LambdaTargetResolver.java• L71-150 src/…/LambdaController.java• L475-623
Function URLs
Function URLs provide direct HTTP access to $LATEST or an alias without an API Gateway resource. A URL request becomes a Lambda HTTP event with method, path, query values, headers, request context, and a body. The function response becomes an HTTP response when it supplies status, headers, cookies, and body fields. A function error becomes HTTP 502.
The URL control plane stores the target, authentication mode, invoke mode, and optional CORS settings. Buffered responses wait for the function result. Response streaming exposes the body as the function writes it and uses a response prelude when the function supplies HTTP status or headers. Function URLs are rejected in partitions where AWS does not provide the feature.
This sequence shows how a streamed URL response reaches the caller.
sequenceDiagram
participant Client
participant URL as Function URL
participant Lambda as Lambda invocation
participant Runtime as Runtime API
participant Handler
Client->>URL: HTTP request
URL->>Lambda: Build HTTP event
Lambda->>Runtime: Queue invocation
Handler->>Runtime: Poll and receive event
Handler->>Runtime: Stream response chunks
Runtime-->>URL: Prelude and body chunks
URL-->>Client: HTTP headers and streaming body
References: src/…/LambdaService.java• L3542-3754 src/…/LambdaUrlController.java• L28-124 src/…/LambdaController.java• L233-310 src/…/LambdaFunctionStore.java• L48-147
Lambda layers
A layer is a separately published package version for shared runtime files. A function attaches layer versions in order. The selected files become available under /opt while the layer remains an independent resource.
Layer publishing accepts a package directly or from S3. It records a version, digest, compatibility information, extracted files, and an archive that can be served or downloaded by an execution backend. Function creation and configuration changes validate layer references before they save the function. A layer from another account or partition is not silently replaced by a same-named local layer.
References: src/…/LambdaLayerService.java• L103-218 src/…/LambdaLayerService.java• L365-460 src/…/LambdaLayerController.java• L61-213 src/…/ContainerLauncher.java• L424-445 src/…/KubernetesPodLauncher.java• L399-426
Code-signing configurations
Code-signing configurations describe trusted signing profiles and the action for an untrusted package. The configuration can attach to a function's $LATEST record. The platform validates the attachment and blocks deletion while a function still uses it.
The control plane stores and reports signing policy. It does not yet verify package signatures or enforce the selected action during deployment. Attachment and deletion use ownership checks so a concurrent change cannot leave a dangling attachment.
References: src/…/LambdaService.java• L503-517 src/…/LambdaService.java• L715-831 src/…/LambdaController.java• L625-679
Durable functions
A durable function keeps a long-running execution across waits, retries, callbacks, and separate handler calls. Its settings define execution time and result retention. The function becomes durable when created with this configuration. Later updates can change durable settings but cannot convert an ordinary function into a durable one.
Durable calls use a version or alias so the execution runs stable code. An unqualified durable invoke is rejected. The control plane can start, read, list, stop, checkpoint, and inspect an execution. It also accepts callback results and heartbeat signals. Each execution stores its operations, history, checkpoint position, invocation lane, and replay data together. The durable engine keeps this state separate from ordinary container work while using Lambda invocation to run the handler.
Each durable execution keeps a trace header and passes a suitable child header to later handler calls or chained functions. This preserves the execution's trace identity while allowing active tracing targets to create their own segment.
References: src/…/LambdaService.java• L1449-1550 src/…/LambdaService.java• L3067-3125 src/…/DurableExecutionService.java• L142-209 src/…/DurableExecutionService.java• L740-820
Event source mappings
An event source mapping connects a function target to a source poller. It stores source and target identity plus batch, filter, retry, scaling, and failure-destination rules. Supported pollers read SQS, Kinesis, and DynamoDB Streams records. The control plane also accepts self-managed Kafka source details such as topics and access settings.
When a mapping is enabled, its poller builds a Lambda event from source records and invokes the target. Filters can consume records without a function call. Successful work advances source progress. Failed work follows the source retry model and can use item-level failure reports or a failure destination. Filter patterns are checked before persistence because a bad pattern could otherwise consume records without invoking the function.
For SQS, the poller holds messages invisible for the batch window and the time needed for initialization and execution. It deletes filtered messages. It deletes successful messages after the call and returns failed messages to the queue's normal visibility cycle. A valid ReportBatchItemFailures response returns only the named messages; a malformed response fails the whole delivered batch.
| Source | Progress and retry model |
|---|---|
| SQS | Successful or filtered messages are removed. Failed messages return through queue visibility and retry rules. |
| Kinesis | Successful batches advance the shard checkpoint. Failed batches retry and can be split. Aged or exhausted records can move to a failure destination. |
| DynamoDB Streams | The checkpoint advances after success or exhausted failure handling. Partial failures retry from the first failed record. |
References: src/…/LambdaService.java• L1660-1865 src/…/LambdaService.java• L1920-2049 src/…/LambdaController.java• L327-473 src/…/SqsEventSourcePoller.java• L132-235 src/…/SqsEventSourcePoller.java• L239-347
Code and execution plane
Deployment package storage
ZIP code is the deployable package for ZIP functions. The service accepts package content directly or through S3. It extracts code into account- and Region-scoped storage and keeps the package available to launchers. Published versions keep their own code identity and code snapshot so later $LATEST changes do not alter a stable version.
Image functions use an image URI instead of a ZIP. Both package types follow the same version and invocation model. Package replacement is staged and checked before it becomes active, so a bad archive does not replace working code. Function packages and layer archives are also copied to a per-Region Lambda tasks bucket. This copy is required when the Kubernetes executor must fetch them outside the local process.
For large ZIP packages, the Docker launcher can populate a version-specific read-only code volume once and mount it into later environments. The volume can be reused after an emulator restart when its completion marker and the Docker volume still exist. Superseded volumes are removed after a grace period. This reduces repeated cold-start copying without changing the stable code identity of the function version.
References: src/…/LambdaService.java• L951-1010 src/…/LambdaService.java• L2639-2755 src/…/LambdaService.java• L3873-3964 src/…/ContainerLauncher.java• L331-362 src/…/ContainerLauncher.java• L817-927 src/…/ContainerLauncher.java• L993-1041 src/…/KubernetesPodLauncher.java• L384-426
Runtime invocation
Invocation supports synchronous RequestResponse, asynchronous Event, and validation-only DryRun. A synchronous call waits for the handler. An asynchronous call returns after acceptance, then retries failed or throttled work within its age and attempt limits. A dry run does not start an environment. Invocation results can include a bounded tail of the function's logs when the caller asks for it.
The executor resolves the target, applies function-wide concurrency, and sends a request with a request ID to the environment's Runtime API. The runtime polls for the event and reports success or failure. A timeout, initialization error, runtime exit, or broken environment fails the waiting call and removes that environment from reuse. A disconnected runtime poller causes the request to return to the queue for another poller. Pending asynchronous events carry lifecycle and deletion state, so reset or function deletion prevents stale work from running or producing a later destination record.
Synchronous response streaming keeps the invocation open while the runtime sends chunks. The normal invocation stream emits PayloadChunk events followed by InvokeComplete. A function URL stream instead reads an HTTP response prelude when present, then forwards the body to the URL caller. Runtime error trailers can mark the stream as failed. A failed response write stops further chunk delivery rather than leaving stale chunks for a later response.
Asynchronous delivery can route the final result to a configured destination. A depth bound stops recursive chains that pass through Lambda and other event services. A durable function uses the durable execution path instead of this ordinary invocation path.
This sequence shows the normal call path and the environment decision after the handler returns.
sequenceDiagram
participant Client
participant API as Lambda API
participant Exec as Invocation executor
participant Pool as Warm pool
participant Runtime as Runtime API
participant Handler
Client->>API: Invoke function target
API->>Exec: Resolve target and acquire capacity
Exec->>Pool: Acquire environment
Pool-->>Exec: Reused or new environment
Exec->>Runtime: Queue request
Handler->>Runtime: Poll invocation
Runtime-->>Handler: Payload and deadline
Handler->>Runtime: Success, error, or stream
Runtime-->>Exec: Complete request
alt environment is healthy
Exec->>Pool: Release for reuse
else environment fails
Exec->>Pool: Destroy environment
end
Exec-->>API: Invoke result
API-->>Client: Response
References: src/…/LambdaController.java• L233-310 src/…/LambdaResponseStreamController.java• L50-99 src/…/LambdaInvokeResponseStream.java• L18-129 src/…/LambdaUrlResponseStream.java• L15-104 src/…/ResponseChunkQueue.java• L8-41 src/…/LambdaExecutorService.java• L197-321 src/…/LambdaExecutorService.java• L342-424 src/…/LambdaExecutorService.java• L461-531 src/…/RuntimeApiServer.java• L1017-1123
Durable execution lifecycle
The durable execution plane turns one logical run into persisted operation state and history. A handler receives its current state. It sends checkpoint updates. The platform validates a full checkpoint batch before applying it and wakes the function when a wait, retry, callback, or child execution can continue.
Checkpoint tokens bind updates to one execution and invocation sequence. A repeated checkpoint with the same client token returns the saved answer. A rejected batch leaves the prior state unchanged. Durable responses distinguish completed, failed, and pending work. Timers, callback deadlines, and retry times remain part of the stored execution so they survive a restart.
Durable operations cover execution roots, contexts, steps, waits, callbacks, and chained invokes. A chained durable target becomes a child execution. A plain target runs as a normal invocation and reports its result back to the parent operation. A restart clears only the in-flight invocation marker and replays the handler from saved checkpoints. Invocation failures use bounded retry with backoff before the execution fails.
This diagram shows the relationship between stored durable state and repeated handler calls.
flowchart TD
A[Start durable execution] --> B[Persist execution state]
B --> C[Invoke pinned function target]
C --> D[Handler reads operation state]
D --> E[Checkpoint updates]
E --> F{Execution complete?}
F -->|yes| G[Persist result or error]
F -->|no| H[Persist wait, retry, callback, or child work]
H --> I[Timer, callback, or child completion]
I --> C
Synchronous durable calls can attach to the same execution's log capture. The capture joins logs from each handler invocation and returns one bounded tail after the execution completes. The real invoker resolves the pinned version again for each replay, while an execution that began on $LATEST follows the current $LATEST code when it resumes.
References: src/…/LambdaService.java• L1449-1550 src/…/LambdaService.java• L3067-3125 src/…/DurableExecutionService.java• L253-329 src/…/DurableExecutionService.java• L460-540 src/…/DurableExecutionService.java• L582-705 src/…/DurableInvocationLogs.java• L7-49 src/…/LambdaDurableFunctionInvoker.java• L25-58
Warm execution environments
The warm pool keeps reusable environments by function and execution-environment identity. A warm hit avoids a launcher call. A cold start creates a new environment. Runtime, extension, liveness, timeout, and age conditions remove an environment from reuse. Ephemeral and hot-reload environments stop after each invocation instead of entering the pool.
Code or configuration changes drain the affected identity. Published versions have separate pool entries, so changing $LATEST does not replace an environment for a published version. The pool enforces per-function and optional global idle limits. When the Docker capacity limit blocks a new launch, it can evict the least recently used idle environment and try once more.
Provisioned concurrency owns a separate set of initialized environments for a published version or an unweighted alias. It rejects $LATEST, weighted aliases, durable functions, and hot-reload functions because those targets cannot provide one stable initialized identity. Its stored request is a desired capacity, not proof that environments are ready. Reconciliation launches real environments and reports READY only after they pass initialization; target revisions and alias changes retire old capacity.
An environment remains unavailable until its runtime has entered the polling phase and expected extensions have had a chance to become ready. Runtime initialization errors, extension faults, and unexpected process exits condemn the environment rather than returning it to the pool.
References: src/…/WarmPool.java• L231-331 src/…/WarmPool.java• L340-443 src/…/WarmPool.java• L456-563 src/…/WarmPool.java• L643-683 src/…/ProvisionedConcurrencyPool.java• L47-119 src/…/ProvisionedConcurrencyPool.java• L169-245 src/…/ProvisionedConcurrencyPool.java• L407-477 src/…/ProvisionedConcurrencyPool.java• L575-661
Runtime launchers
The runtime launcher connects warm capacity to the host platform. Docker starts a container. Kubernetes starts a pod. The process launcher starts a local custom-runtime process. All provide the Runtime API, function metadata, code, credentials, endpoints, and logs before the handler runs. They differ in isolation, package support, and how the environment reaches the emulator.
| Backend | Runtime environment | Main constraint |
|---|---|---|
| Docker | Container with local ZIP code, hot-reload files, or an image | Requires a reachable Docker daemon and emulator address |
| Kubernetes | Pod with runtime and package setup containers | Requires a pod-reachable emulator address and does not use hot reload |
| Local process | Host process for a provided.* ZIP runtime or hot-reload directory | Has no isolation or memory limit and does not support images, layers, or file-system mounts |
The Docker launcher starts the Runtime API before the container, places code and layers into the environment, and checks image working-directory access before start. Large code can use a shared read-only volume that survives an emulator restart when its completion marker and Docker volume are both present. Failed launches clean up the runtime server, container, credentials, and volume references. An exit watcher re-checks a running container when the Docker wait stream drops, so a process crash is reported as an exit rather than misread as a function timeout.
The Docker launcher also starts extensions and waits for their readiness when needed before capacity becomes available. Shutdown first quiesces the Runtime API and the container, then releases the runtime endpoint after the container is gone. This ordering keeps pending work and host resources tied to the same environment lifecycle.
The Kubernetes launcher creates a pod whose setup containers download code and layers from signed Floci S3 URLs. It resolves the Kubernetes API from an in-cluster service account or a supported kubeconfig. It waits for a running pod and removes orphaned or failed pods before releasing the Runtime API port. A remote API outage does not mark every warm pod dead at once.
The local process launcher copies deployed code for an environment unless hot reload is active. It starts the package's executable bootstrap with the Lambda environment and a private Runtime API address. It forwards process output to logs and waits for the process to exit before releasing its runtime port and code copy.
The Runtime API gives the language runtime a long-poll for the next invocation and endpoints for success or failure. It also supports the Extensions API. Extensions receive invoke and shutdown events. An initialization error or unexpected runtime exit condemns the environment, fails waiting work with the reported runtime error, and prevents reuse. A response-streaming invocation stays active until its stream ends. Each environment also receives a private metadata token that lets it ask for its Region's Availability Zone ID.
References: src/…/ContainerLauncher.java• L189-245 src/…/ContainerLauncher.java• L331-355 src/…/ContainerLauncher.java• L398-524 src/…/ContainerLauncher.java• L525-564 src/…/ContainerLauncher.java• L657-707 src/…/ContainerLauncher.java• L897-971 src/…/ContainerLauncher.java• L993-1041 src/…/ContainerHandle.java• L68-85 src/…/KubernetesPodLauncher.java• L146-242 src/…/KubernetesPodLauncher.java• L274-327 src/…/KubernetesApiClient.java• L120-227 src/…/ProcessLauncher.java• L45-54 src/…/ProcessLauncher.java• L106-175 src/…/ProcessLauncher.java• L178-223 src/…/LambdaWebMetadataServer.java• L30-81 src/…/LambdaWebMetadataServer.java• L109-142 src/…/RuntimeApiServer.java• L35-73 src/…/RuntimeApiServer.java• L412-482 src/…/RuntimeApiServer.java• L1017-1123
MicroVM resources
The Lambda MicroVM control plane manages image versions, builds, network connectors, and MicroVM records under Lambda-owned API routes. It supports image preparation and basic MicroVM lifecycle for clients that need a separate execution resource from ordinary Lambda function invocation. Its scope is a local control plane for CloudFormation and SDK use rather than a full MicroVM runtime.
Images keep build inputs and runtime settings across versions. A new image creates an active version with successful build records. An update replaces the image inputs and creates the next version. A MicroVM starts from an image version, returns an initial pending view, and then reads as running until termination. Network connectors keep versioned network settings; an update creates a new version only when their configuration changes. This control plane is separate from the Docker, Kubernetes, and local process function launchers.
References: src/…/LambdaMicrovmsController.java• L39-51 src/…/LambdaMicrovmsController.java• L82-307 src/…/LambdaMicrovmsService.java• L35-51 src/…/LambdaMicrovmsService.java• L184-267 src/…/LambdaMicrovmsService.java• L298-385 src/…/LambdaMicrovmsService.java• L389-485 src/…/LambdaMicrovmsService.java• L563-623 src/…/LambdaMicrovmsService.java• L754-823
Change checklist
When these files or sections are changed, remember to consider these:
- Keep function, alias, version, URL, durable target, policy, and event mapping resolution aligned. A qualifier must identify the same target across reads and invokes.
- If published state changes, carry code identity and execution settings into the version snapshot and all launcher paths.
- If URL invoke mode or response handling changes, keep the HTTP event shape, stream prelude, response headers, and function-error status aligned.
- If runtime queue or stream handling changes, keep request ownership, timeout reset, failed-write requeue, and warm-pool retirement consistent.
- If runtime fault handling changes, update pending and in-flight failure paths plus extension shutdown and reuse rules together.
- If durable settings, trace propagation, or checkpoint rules change, keep target pinning, replay, timers, child execution reporting, and handler status contracts aligned.
- If durable log capture changes, keep ordinary and durable tail collection bounded and release captures when all synchronous callers finish.
- If package storage changes, update direct uploads, S3 reads, published copies, tasks-bucket objects, large-code volumes, layers, and every launcher download or local copy together.
- If event source rules change, keep source filtering, delivered event shape, retry progress, partial failures, and checkpoints consistent.
- If provisioned concurrency changes, keep persisted requests, target revision checks, readiness state, alias refresh, capacity limits, and teardown behavior consistent.
- If a launcher changes, keep runtime reachability, package availability, process or pod cleanup, Runtime API port ownership, and warm-pool liveness aligned.
- If metadata access changes, keep per-environment tokens separate from Runtime API ports and require the token for the zone response.
- If code-volume reuse changes, keep completion markers, Docker volume existence, in-flight launch references, namespace checks, and delayed cleanup aligned.
- If MicroVM image or connector state changes, keep version creation, returned transient state, stored settled state, and resource persistence aligned.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A qualified target resolves differently for reads and invokes | A caller can inspect one version and run another | Shared qualifier-aware target resolution |
A version shares mutable $LATEST code | A published target can run code different from its code digest | Published versions keep their own code identity |
| A streamed response loses its runtime connection | The call can remain in flight until timeout | Stream completion settles the invocation and a failed environment is not reused |
| A response write fails or the runtime poller disconnects during delivery | The invocation can be stranded in flight | Failed response writes and ended pollers requeue the invocation |
| A runtime init error or process exit occurs | Waiting calls can receive a misleading timeout and a dead environment can be reused | Report the runtime error, condemn the environment, and destroy its handle |
| An image working directory is not traversable by the Lambda user | Initialization fails before the handler runs | Check directory permissions and symlink paths before container start |
| A local process function uses an image, layer, or file-system mount | The function cannot start in the selected launcher | Restrict the process launcher to supported provided.* ZIP and hot-reload inputs |
| A durable checkpoint is stale or belongs to another execution | A handler can overwrite newer durable state | Checkpoint identity, sequence, and whole-batch validation |
| A durable invocation fails repeatedly | The execution can remain running without a handler that can progress it | Persist retry time and close the execution after the retry bound |
A durable handler returns PENDING with no pending work | The execution fails instead of waiting for work that cannot wake it | Require a pending operation, unseen change, or requested reinvocation |
| A source filter does not match the delivered event view | Records can be consumed without a function call | Validate filter structure and apply it to the source record view |
| An SQS batch response names an unknown or malformed item | All delivered messages are retried instead of only the intended items | Validate identifiers against the delivered batch and fail the whole batch on bad input |
| A code or layer archive is not stored for the Kubernetes executor | Deployment fails instead of producing a later broken cold start | Treat the tasks-bucket copy as required for Kubernetes |
| A Kubernetes pod is deleted but not confirmed gone | A later environment can receive work on the old Runtime API port | Keep the port reserved until the pod disappears |
| A code copy or runtime port is released while a local process still runs | A live environment can lose its code or another environment can claim its port | Release both only after process exit |
| A code volume is deleted while a launch still holds its name but before Docker owns the mount | The next environment can mount an empty or missing /var/task | Track in-flight volume references and delay cleanup |
| A code volume marker remains after its Docker volume is removed | A later launch can trust stale completion state and skip population | Require both the marker and the independently verified Docker volume |
| A code-signing configuration is deleted while attached | A function keeps a dangling signing policy | Deletion checks attached functions under the configuration lock |
| A MicroVM image is deleted while a MicroVM still runs from it | The image control plane loses a resource needed by active work | Reject deletion while a non-terminal MicroVM uses the image |
Key files
| File | Why to read it |
|---|---|
| src/…/LambdaService.java | Function lifecycle, target control planes, code storage, URLs, durable settings, concurrency, and event mappings |
| src/…/LambdaController.java | Public Lambda API shapes for functions, invocations, versions, aliases, and event mappings |
| src/…/LambdaResponseStreamController.java | Public response-streaming invocation entry point and request validation |
| src/…/LambdaFunctionStore.java | Account- and Region-scoped function records and URL target lookup |
| src/…/LambdaTargetResolver.java | Shared read, invoke, alias, version, and event-mapping target selection |
| src/…/LambdaExecutorService.java | Synchronous and asynchronous invocation, concurrency, retries, streaming, log tails, and environment results |
| src/…/LambdaInvokeResponseStream.java | Event-stream response framing and completion for streamed invokes |
| src/…/LambdaUrlResponseStream.java | HTTP prelude and body handling for streamed function URLs |
| src/…/LambdaLayerService.java | Layer publication, archive storage, compatibility, and ARN resolution |
| src/…/SqsEventSourcePoller.java | SQS batching, filtering, invocation, partial failures, and message retry |
| src/…/ProvisionedConcurrencyPool.java | Stable initialized capacity, target revision checks, readiness, and teardown |
| src/…/WarmPool.java | Warm environment reuse, draining, idle eviction, capacity recovery, and ephemeral execution |
| src/…/RuntimeApiServer.java | Runtime polling, response reporting, streamed responses, extensions, requeue, and environment failure behavior |
| src/…/RequestTrailers.java | Runtime response trailers used to carry streamed function errors |
| src/…/ContainerLauncher.java | Docker runtime environment, code-volume use, layer setup, metadata wiring, and launcher cleanup |
| src/…/ProcessLauncher.java | Local custom-runtime process launch, code copies, environment setup, logs, and cleanup |
| src/…/InvocationLogTail.java | Bounded synchronous invocation log snapshots for Docker and durable calls |
| src/…/KubernetesPodLauncher.java | Kubernetes pod launch, package download, readiness, liveness, and cleanup |
| src/…/KubernetesApiClient.java | Kubernetes connection setup, pod operations, and pod log access |
| src/…/DurableExecutionService.java | Durable persistence, invocation wake-ups, checkpoints, retries, callbacks, chained work, logs, and restart recovery |
| src/…/LambdaDurableFunctionInvoker.java | Bridge from durable execution state to the normal Lambda runtime |
| src/…/DurableInvocationLogs.java | Shared log capture across synchronous durable handler calls |
| src/…/LambdaWebMetadataServer.java | Per-environment metadata tokens and Availability Zone responses |
| src/…/LambdaMicrovmsService.java | MicroVM image, version, build, network connector, and MicroVM lifecycle state |
| src/…/LambdaMicrovmsController.java | Public MicroVM image, build, connector, and MicroVM API shapes |