AWS-SAM connecting to an existing Mongo DB

Viewed 124

I created one AWS sam server-less application (created some Api's using python), I have a Mongo Db, I want it to be connected to the function.

But I don't know the procedure which I have to follow make it connected anyone please help me

Thanks in Advance

1 Answers

You can give the necessary permissions for your Lambda functions (and thus your serverless application) SAM templates. You can follow this guide in order to do that.

Related