How did you teach yourself lambda functions and documentsdb

0

Hey, I'm an intern trying to help my company get their Software ready for AWS.

My task is to write Lambda functions that do queries/insert/etc in a DocumentDB.

I have the DocumentDB running, also created a few test Databases via mongoshell.

But I can't get a single function to fetch anything from this database. I just can't get these lambda functions to run.

Do you have any tips what I should read ? How did you approach this? What should I study?

For any tip, I would be grateful! Greetings

MW
已提問 1 年前檢視次數 283 次
2 個答案
0

I would recommend taking the free AWS provided lambda course it will walk you through many of the basics. There also many How To Guides Although not identical there is Example Project of using Lambda to connect DynamoDB

Although covered in training I like to make sure I have a machine configured correctly for development before I start.
There are MANY tools for .NET Development with AWS Note some of this is covered in the above training.

I install the following:

Although .NET 7 is the latest I find it easier to use .NET 6 initially, as it is a built in already supported runtime. Once you have execution with .NET 6 you can look at a custom runtime image to do .NET 7.

I typically test my lambdas locally before moving to AWS. To do that I use the Mock Lambda Test Tool found in the tool bar of Visual Studio. It will launch a browser window where you can send whatever you want to your lambda function and be able to step through it.

There is much more, I would encourage you to spend some time exploring the .NET on AWS Site to become familiar with the resources available.

profile picture
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南