normj / LambdaNETCoreSamples

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

Use Lambda .NET 2.2 with SQS Event #4

Closed pkasperek closed 3 years ago

pkasperek commented 5 years ago

Hi,

This sample use ApiGateway events (request) to call .NET Core ASP.NET 2.2 application. I looked on net many samples that use AWS Lamdba with .NET Core 2.2, and all use only API Gateway events. Is possible use others events ex. SQSEvent with AWS Lambda and .NET 2.2 runtime ?

normj commented 5 years ago

Yes, the blueprint that is in Visual Studio for Custom Runtimes is configured for .NET Core 2.2. Currently the parameter is taking a string but you can easily add one of the event NuGet packages and change the string parameter to event type you want to use.