Create IAM Role

In this step, we will create a Role with two permissions: LambdaFullAccess and DynamoDbFullAccess.

  1. Access the AWS Console and search for the Identity and Access Management (IAM) service.
  2. In the IAM interface, select Role.

Role

  1. Select Create Role.

Create Role

  1. In the Trusted Entity Type section, select AWS Service and for the Use Case, choose Lambda.

Create Role Step 2

  1. In the Add Permissions section, search for and select the following two permissions, then click Create Role.

Create Role Step 3

  1. Name the role you just created, then finalize the creation by clicking Create Role.

Create Role Step 3