skip to Main Content

Is there a way to create a DynamoDB table with TTL and PITR enabled with the Java AWS SDK? – Amazon Web Sevices

I'm trying to create a DynamoDB table programmatically in Kotlin using a CreateTableRequest: val createTableRequest: CreateTableRequest = CreateTableRequest.builder() .tableName(tableName) .billingMode("PAY_PER_REQUEST") .attributeDefinitions(attributeDefinitions) .keySchema(keySchema) .streamSpecification(streamSpecification) .globalSecondaryIndexes(globalSecondaryIndexes) .tags(tags) .build() dynamoDbClient.createTable(createTableRequest) I want to set the TTL and Point-in-time recovery (PITR) settings to true,…

VIEW QUESTION
Back To Top
Search