This repository focuses on performing CRUD (Create, Read, Update, Delete) operations on AWS using serverless services. The main components utilized are AWS Lambda, DynamoDB, and API Gateway. Features
- CRUD Operations: The repository provides functionality for creating, reading, updating, and deleting records in a DynamoDB table.
- Serverless Architecture: The operations are performed using serverless services, eliminating the need for managing infrastructure.
- DynamoDB Integration: DynamoDB tables are used to store and manage data, ensuring scalability and reliability.
- API Gateway: API Gateway is utilized to create endpoints for invoking Lambda functions from client applications.
The DynamoDB table used in this project stores student information with the following attributes:
- Student Roll Number (Partition Key): This attribute serves as the primary key for the table.
- Student Name (Sort Key): It sorts the values alphabetically.
- Phone Number: Contact number of the student.
- Email: Email address of the student.
The repository contains the following Lambda functions to interact with the DynamoDB table:
- Create Function: Creates a new record in the DynamoDB table.
- Read Function: Retrieves a record from the DynamoDB table based on the provided parameters.
- Update Function: Updates an existing record in the DynamoDB table.
- Delete Function: Deletes a record from the DynamoDB table.
The DynamoDB table is accessed through serverless functions (Lambda). These functions interact with the table to perform CRUD operations based on the requests received. API Gateway is used to create endpoints that trigger the Lambda functions. These endpoints provide a convenient way for client applications to interact with the Lambda functions, enabling seamless integration with the DynamoDB table.