public static void createSettingsTable(final DynamoDbClient amazonDynamoDBClient,
                                           final boolean deleteTables) throws Exception {
        val request = createCreateTableRequest();
        if (deleteTables) {
            val delete = DeleteTableRequest.builder().tableName(request.tableName()).build();
            LOGGER.debug("delete create request [{}] to remove table if necessary", delete);
            DynamoDbTableUtils.deleteTableIfExists(amazonDynamoDBClient, delete);
        }
        LOGGER.debug("Sending create request [{}] to create table", request);
        DynamoDbTableUtils.createTableIfNotExists(amazonDynamoDBClient, request);
        LOGGER.debug("Waiting until table [{}] becomes active...", request.tableName());
        DynamoDbTableUtils.waitUntilActive(amazonDynamoDBClient, request.tableName());
        val describeTableRequest = DescribeTableRequest.builder().tableName(request.tableName()).build();
        LOGGER.debug("Sending request [{}] to obtain table description...", describeTableRequest);
        val tableDescription = amazonDynamoDBClient.describeTable(describeTableRequest).table();
        LOGGER.debug("Located newly created table with description: [{}]", tableDescription);
    }
Create settings table.

@param amazonDynamoDBClient the amazon dynamo db client
@param deleteTables         the delete tables
@throws Exception the exception
support/cas-server-support-configuration-cloud-dynamodb/src/main/java/org/apereo/cas/config/CasDynamoDbCloudConfigBootstrapAutoConfiguration.java