Adding additional records to DynamoDB table using AWS AppSync
AWS AppSync
It is a managed GraphQL service that eases app development which lets users create a flexible API to securely access, manipulate, and combine data from one or more data sources with fewer network calls. It works well with contract-first development and doesn’t need an extra process for generation API documentation. Integration with DynamoDB is much easier to use and offers the value add features
Amazon DynamoDB
An Amazon AWS Web Services database that is fully managed, serverless, key-value NoSQL database, has high-performance applications at any scale. It has the following benefits such as built-in security, continuous backups, automated multi-region replication, in-memory caching, and data export tools.
Demo
Click on create table Enter the table name and primary key Click Create Adding items and data to the table Click on create API Select Import DynamoDN Table and click start Select region, table name, and if you don’t have a role created click on a new role and click import Configure the model fields and click create Choice of your name and click create Select Mutation Click on CreateBooks Enter all the data Run the query Checking DynamoDB table a new record is created