How to create a 'Data model' or associate tables to a 'Data model' in DynamoDB

Hello all,

I am a first-timer in using DynamoDB and using Boto3 for Python to connect to DynamoDB.

How do I create a data model, a table and associate them both?

You might want to check out PynamoDB.

https://github.com/pynamodb/PynamoDB

I use pydantic, for any writes or updates to dynamodb. I’ve also seen people use typescript. If you’re using python, boto3 comes with a deserializer and serializer class to make life easy

Since you’re new to dynamodb, I highly suggest watching this video on how to structure your data for queries

I would also check out the DynamoDB book by Alex DeBrie.

The data modelling will heavily influence performance and costs.