A CRUD (Create, Read, Update, Delete) operations project using API Gateway, AWS Lambda, and DynamoDB involves several steps. In this project we build a RESTful API that interacts with a DynamoDB table to perform CRUD operations on items in the table.
Below is the high level design:
The POST method on the DynamoDBManager resource supports the following DynamoDB operations:
- Create, update, and delete an item.
- Read an item.
- Scan an item.
Create the execution role that gives your function permission to access AWS resources.
To create an execution role
- Open the roles page in the IAM console.
- Choose Create role.