This is a collection of DynamoDB examples with Kotlin and Spring Boot. Every example highlights a different aspect of DynamoDB and is located in a single self-containd test.
Shows how to implement createdAt and lastModifiedAt timestamps.
Note: The createdAt date doesn't work.
Shows how to implement a composite key made up of two parts.
DynamoBee is a migration tool for DynamoDB, similar to as Liquibase or Flyway. This example shows how to setup and migrate a DynamoDB table with it.
Shows how to save a complex object as JSON.
Shows an approach how JSON could migrated.
Note: This approach is highly opinionated and hand-crafted.
Shows how to query entities with indexes.
Shows a very simple example and the basic setup.