@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    public DynamoDbCasEventsFacilitator dynamoDbCasEventsFacilitator(
        @Qualifier("dynamoDbEventRepositoryClient")
        final DynamoDbClient dynamoDbEventRepositoryClient,
        final CasConfigurationProperties casProperties) throws Exception {
        val db = casProperties.getEvents().getDynamoDb();
        val facilitator = new DynamoDbCasEventsFacilitator(db, dynamoDbEventRepositoryClient);
        if (!db.isPreventTableCreationOnStartup()) {
            facilitator.createTable(db.isDropTablesOnStartup());
        }
        return facilitator;
    }
This is {@link CasEventsDynamoDbRepositoryAutoConfiguration}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-events-dynamodb/src/main/java/org/apereo/cas/config/CasEventsDynamoDbRepositoryAutoConfiguration.java