Tutorial by Examples

Open Visual Studio and Select File -> New Project Select AWS Lambda Project with Tests (.NET Core) Next the Select Blueprint screen will display. Select Empty Function and Click the Finish button: Go to Tools -> NuGet Package Manager -> Package Manager Console. In the console win...
Open Function.cs and replace the class code with the following: public class Function { /// <summary> /// A simple function that takes a birth date and returns Age in years /// </summary> /// <param name="input"></param> /// <returns>Age is years&...
Right Click your project and select Publish to AWS Lambda... The Upload to AWS Lambda screen will appear. Make sure the correct region is selected. Keep all of the defaults. Then only enter the Function Name: AWSLambdaFunctionAgeInYears and then click next. On the next page, sele...
After Step 3 above, Visual Studio will open the View Function window with your function loaded. On the bottom left of this screen, enter the following json into the Sample Input box: { "month": "10", "day": "28", "year": "1979" } ...

Page 1 of 1