public void createTicketTables(final boolean deleteTables) {
        val metadata = this.ticketCatalog.findAll();
        metadata.forEach(Unchecked.consumer(defn -> {
            val attributeDefinitions = List.of(
                AttributeDefinition.builder()
                    .attributeName(ColumnNames.ID.getColumnName())
                    .attributeType(ScalarAttributeType.S)
                    .build());
            val keySchemaElements = List.of(KeySchemaElement.builder()
                .attributeName(ColumnNames.ID.getColumnName())
                .keyType(KeyType.HASH)
                .build());
            val tableDesc = DynamoDbTableUtils.createTable(amazonDynamoDBClient, dynamoDbProperties,
                defn.getProperties().getStorageName(),
                deleteTables,
                attributeDefinitions,
                keySchemaElements);
            DynamoDbTableUtils.enableTimeToLiveOnTable(amazonDynamoDBClient,
                tableDesc.tableName(), ColumnNames.EXPIRATION.getColumnName());
        }));
    }
Create ticket tables.

@param deleteTables the delete tables
support/cas-server-support-dynamodb-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/DynamoDbTicketRegistryFacilitator.java