Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 450 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 450 Bytes

Lambda ALB Handler

This abstracts away the details of handling ALB requests and responses in lambdas that are meant to be used as ALB targets.

It handles Result types, and converts them to ALB responses.

It handles OPTIONS requests, and converts them to 200 responses with the appropriate CORS headers based on the methodHandlers you provide.

Usage

see files-urls/index.ts for an example.