AgentCoreRuntimeConfig
Configuration for the agentCoreRuntime route installer.
Properties
Threshold (in bytes) above which an inbound request body is exposed as InvocationInput.Stream rather than InvocationInput.Binary. Requests with no Content-Length header are also exposed as InvocationInput.Stream.
Single handler covering all input/output shapes. Required unless a typed handler is registered via handle.
Per-request handler timeout, in milliseconds. When > 0, the unified handler / typed handler is wrapped in a withTimeout(...) block. On timeout the request fails with HTTP 504 Gateway Timeout and a structured JSON error body.
Maximum allowed request body size, in bytes. Requests whose Content-Length exceeds this value are rejected with HTTP 413 Payload Too Large before the handler is invoked. Requests with no Content-Length header are not pre-checked (the underlying engine's limits still apply).
Custom ping service. Defaults to StaticAgentCorePingService.
Task tracker used to report PingStatus.HEALTHY_BUSY while long-running background work is in progress. Exposed to the handler via AgentCoreContext.taskTracker.
Functions
Registers a typed invocation handler — convenience for JSON-in / JSON-out flows.