Reference

AwsLambdaRequestHandlerOptions

Configures AWS Lambda request handlers for built app-router output.

Signature

interface AwsLambdaRequestHandlerOptions

Members

allowedHosts?: readonly string[]
errorHandler?: (error: unknown): { body: string; headers?: Record<string, string>; status: number }
hostname?: string
hostPolicy?: RequestHostPolicy
importPolicy?: AwsLambdaImportPolicy
instrumentation?: RouterInstrumentation
logger?: AppRouterLogger
onResponse?: AppRouterResponseHook
outDir: string
preload?: AwsLambdaPreloadStrategy
prerenderStore?: AppRouterPrerenderStore
routeCache?: AppRouterCache
runtimeDir?: string
serverActions?: AppRouterServerActionOptions
sinkStrategy?: ResponseSinkStrategy
timings?: boolean
trustForwardedProto?: boolean