normj / LambdaNETCoreSamples

Example .NET Core Lambda functions.
Apache License 2.0
49 stars 10 forks source link

Using LoadBalancer with Custom Runtime #6

Closed richardkeller411 closed 5 years ago

richardkeller411 commented 5 years ago

If we change the Lambda Entry point to Amazon.Lambda.AspNetCoreServer.ApplicationLoadBalancerFunction the functionHandler in the Main will need to change as well.

normj commented 5 years ago

Correct, you will need to change the references to APIGatewayProxyRequest and APIGatewayProxyResponse to the application load balancer versions which are ApplicationLoadBalancerRequest and ApplicationLoadBalancerResponse.