How to do it...

  1. Launch Visual Studio and create a new project. Under the Visual C# templates, you will see a new type called AWS Lambda. Click on the AWS Lambda Project (.NET Core) template. That's right, these are .NET Core apps.
  1. The next screen will allow us to select a blueprint. For our purposes, we will just select a Simple S3 Function blueprint that responds to S3 event notifications.
  1. The function is created and your Solution Explorer in Visual Studio will look as follows.
  1. The code that is added to the Function.cs file is simply ...

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.