From the course: Building Android Apps with AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create tables in DynamoDB

Create tables in DynamoDB

From the course: Building Android Apps with AWS

Start my 1-month free trial

Create tables in DynamoDB

- [Instructor] So in our demo app, we have these two data objects, ListNamesDO and ListItemsDO that store all of our data, and one represents the names of the lists, and the other represents the list items themselves. And we need to create tables in DynamoDB to store this data. So, I'm first gonna go over to the mobile hub, and I'm gonna click on my project. Then I'm gonna scroll down and add more backend features, and I'm gonna click on NoSQL Database, and I want to Enable NoSQL, and I'm gonna add a table by clicking Add Table. Then if I scroll down, it's asking me how would I like to define the schema for my table. There are some example tables you can use that give you a completely filled-out schema that you can start from, so if any of these tables looks similar to your app, you can use one of these as a starting point if you'd like. Or they also have this wizard, and if you use that, it'll ask you a series of questions about how your data is used and then try to suggest a schema…

Contents