optional Zod schema for event (validated pre‑handler)
app global params record
app stage params record
event token → runtime type map
selected event token
Optionalevents?: PropFromUnion<AWS["functions"], string>["events"]Optional extra serverless events (e.g., SQS triggers).
OptionaleventSchema?: EventSchemaOptional Zod schemas applied uniformly across all handlers.
Compile-time token selecting the runtime event type (e.g., 'rest' | 'http' | 'sqs').
OptionalfnEnvKeys?: readonly (keyof GlobalParams | keyof StageParams)[]Optional; defaults to [] wherever consumed.
Unique function name; used across serverless/OpenAPI outputs.
Optionallogger?: ConsoleLoggerOptional logger; wrapper will default to console.
OptionalresponseSchema?: ResponseSchema
FunctionConfig