Reference

AwsLambdaPreloadStrategy

Configures preload behavior for built app-router modules in AWS Lambda.

Signature

type AwsLambdaPreloadStrategy = "all" | "hot-route-requests" | "middleware" | "none" | { mode: "all" | "hot-route-requests" | "hot-routes" | "middleware" | "none"; routes?: readonly string[]; wait?: "background" | "before-render" | "first-request" }