wai-lambda (hackage):   Turn any wai webapp ( spock, servant, etc) into a handler for AWS Lambda and API Gateway requests.  Works with any Lambda environment (nodejs, python, etc). Find out more in the README.    [Index] [Quick Jump]  Package maintainers  For package maintainers and hackage trustees  Candidates              This Haskell library turns any wai webapp (spock, servant, etc) into a handler for AWS Lambda and API Gateway requests.  This doesn't require any particular Lambda environment. By following the instructions in the build section the resulting zip file uploaded to AWS Lambda is typically smaller than 1MB. For basic webapps the request handling duration (as reported by AWS) is between 1 and 5 milliseconds.  Installing with Cabal:  If you use stack and wai-lambda is not included in your snapshot, add it to the extra-deps:  or from GitHub:  You do not have to do anything if you use cabal2nix and a Nix commit that includes wai-lambda in its Hackage dependencies. If you want to use a specific commit of wai-lambda we recommend using niv:  Then add an override to your Nix packages:  See also the build section for producing AWS Lambda packages with nix.  TODO  For inspiration on how to build fully static executables with Nix, see DeckDeckGo  TODO  For inspiration on how to deploy with Terraform and Nix, see DeckDeckGo  MIT © David Dal Busco and Nicolas Mattia
Keywords: library|mit|program|web|aws|aws-lambda|haskell|nix|webapp