nfroidure / whook

Build strong and efficient REST web services.
https://slides.com/nfroidure/introducing-whook
MIT License
31 stars 7 forks source link

Allow ALB to target whook in a lambda #99

Open nfroidure opened 3 years ago

nfroidure commented 3 years ago

As an alternative to wrap each handlers into their own lambda functions, we could simply target the whole whook server into a single function and make the AWS Load Balancer target it.

See : https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html And : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4e78c523d1d7be08dfe6c47ef84b473eaacc98f8/types/aws-lambda/trigger/alb.d.ts

nfroidure commented 3 years ago

Also check for CloudFront : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4e78c523d1d7be08dfe6c47ef84b473eaacc98f8/types/aws-lambda/common/cloudfront.d.ts