DynamoDbTable

data class DynamoDbTable(tableClass: KClass<*>, configureTable: (CreateTableRequest) -> CreateTableRequest)

Use this with DockerDynamoDbModule or InProcessDynamoDbModule to configure your DynamoDB tables for each test execution.

Use configureTable to customize the table creation request for testing, such as to configure the secondary indexes required by ProjectionType.ALL.

Constructors

Link copied to clipboard
fun DynamoDbTable(tableClass: KClass<*>, configureTable: (CreateTableRequest) -> CreateTableRequest = { it })

Properties

Link copied to clipboard
val configureTable: (CreateTableRequest) -> CreateTableRequest
Link copied to clipboard
val tableClass: KClass<*>
Link copied to clipboard
val tableName: String