What is Amazon DynamoDB? Unlike the S3 hard drive used to store files, DynamoDB is a blazing fast Database used to store table-like data. This table will store concise metadata such as: document ID, processing history, amounts, and statuses so the Frontend application can search and display it quickly.


docuflow-dev-documents-table. Or another name based on your established requirements.

PK as the field name and choose String as the data type next to it. (Additional explanation: In reality, this field will store data in the form of USER#{userId} to group all documents of 1 user into one place).

SK as the field name and choose String as the data type. (This field will be stored in the form of DOC#{documentId} to distinguish documents of the same user).


GSI1PK (String type). (The actual stored value will be STATUS#{status} ).

GSI1SK (String type). (The actual stored value will be the createdAt timestamp field).

docuflow-dev-documents-status-createdAt-index. Or based on your established requirements.



6. Finish creating the table:
Keep other default configurations unchanged, scroll to the bottom of the page and click Create table. The system will take about 1-2 minutes to create the table and index.
