Lab:- Create a DynamoDB Student Table with some records, then scan the table and query on the table.
Step 1: Search DynamoDB service
Step 2: Select Table and Click on Create Table and Provide below information
Table Name: Student
Partition key: Id Data type: Number
Sort Key: Name Data type: String
Settings: Default Settings
Click on Create table button.
Step 3: The table should be created and in Active State.
Step 4: Click on Student Table
Step 5: Go to Action---> Create item
Step 6: You can create item using Form or Writing JSON
Step 7: Repeat Step 5 and 6 to add more items
Step 8: After adding multiple records click on Explore items
Step 9: Select Scan Tab and Click on the Run button it will show all the records.
Step 10: Select Query Tab and Search on the basis of Partition key and other attribute values.
No comments:
Post a Comment