Define the connection of dynamodb.
const tynamo: Tynamo = new Tynamo({
region: "ap-northeast-2",
endpoint: "http://localhost:8000"
});
Define one table inside dynamodb. Manipulate tables or data through this object.
@DynamoEntity()
class Entity {
...
}
const tynamo: Tynamo = new Tynamo({...})
const entityTable: TynamoTable<Entity> = tynamo.getTableOf(Entity);