Class DynamoDbClient
java.lang.Object
dev.lydtech.component.framework.client.localstack.DynamoDbClient
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTable(Class<?> clazz, String region) Create a table in DynamoDB for the given class.voidcreateTable(Class<?> clazz, String region, String accessKey, String secretKey, Long readCapacityUnits, Long writeCapacityUnits) Create a table in DynamoDB for the given class.static DynamoDbClient
-
Method Details
-
getInstance
-
createTable
Create a table in DynamoDB for the given class. Use default read/write capacity of 1. Use default AWS credentials "key" and "secret-key". -
createTable
public void createTable(Class<?> clazz, String region, String accessKey, String secretKey, Long readCapacityUnits, Long writeCapacityUnits) Create a table in DynamoDB for the given class.
-