Skip to content

AtfLambdaAuthorizerConfig

Open in ChatGPTOpen in Claude

Defined in: packages/constructs/src/api/authorizer-config.ts:25

optional cacheTtlMinutes?: number

Defined in: packages/constructs/src/api/authorizer-config.ts:46

Result-cache TTL in minutes. Default 5. Set 0 to disable caching (every request invokes the authorizer Lambda — higher cost + latency).


optional config?: AuthorizerLambdaConfig

Defined in: packages/constructs/src/api/authorizer-config.ts:31

Build the authorizer Lambda from a kind:“authorizer” config — the framework creates the function via the standard Lambda factory. Mutually exclusive with handler.


optional handler?: IFunction

Defined in: packages/constructs/src/api/authorizer-config.ts:36

Use an already-built function (escape hatch). Mutually exclusive with config. Exactly one of config | handler must be set.


optional identitySource?: string[]

Defined in: packages/constructs/src/api/authorizer-config.ts:41

Header name(s) the authorizer reads as its identity source. Default [“Authorization”]. Each construct formats these for its API type.

© 2026 Axis Tech. Powered by axis-tech.co.