Package misk.dynamodb

Types

Link copied to clipboard
@Singleton
class DynamoDbHealthCheck @Inject constructor(dynamoDb: AmazonDynamoDB, requiredTables: List<RequiredDynamoDbTable>) : HealthCheck
Link copied to clipboard
interface DynamoDbService : Service

Service that's running when DynamoDb is usable. Configure your service to depend on this service if it needs DynamoDb.

Link copied to clipboard
interface DyTimestampedEntity

Interface for a timestamped entity.

Link copied to clipboard
interface DyVersionedEntity

This version field is used for optimistic locking.

Link copied to clipboard
open class RealDynamoDbModule(clientConfig: ClientConfiguration, requiredTableTypes: KClass<*>) : KAbstractModule

Install this module to have access to an AmazonDynamoDB client. This can be used to create a DynamoDbMapper for querying of a DynamoDb table.

Link copied to clipboard
data class RequiredDynamoDbTable(name: String)

A table that must be available in the DynamoDB instance. If this table doesn't exist, the service will not start up.