DynamoDB 101 — Connect to DynamoDB in Lambda function

  1. Login IAM, select Roles under Access management in the left sidebar, click on the Create role button.
  2. In the Select type of trusted entity section, select AWS service and select Lambda in the Choose a use case section.
  1. click on Create function button.
  2. Supply a name for this new function in the basic information section.
  3. Click on Choose or create an execution role in the permission section, then click on Use an existing role ratio button and select the policy created earlier, click on Create function button.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Wenhe Qi

Wenhe Qi

A lifelong learner who has enthusiasm for sharing knowledge; a developer who loves bringing ideas to life.