Open nfroidure opened 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
Also check for CloudFront : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4e78c523d1d7be08dfe6c47ef84b473eaacc98f8/types/aws-lambda/common/cloudfront.d.ts
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