@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    @ConditionalOnMissingBean(name = "dynamoDbConsentFacilitator")
    public DynamoDbConsentFacilitator dynamoDbConsentFacilitator(
        @Qualifier("amazonDynamoDbConsentClient")
        final DynamoDbClient amazonDynamoDbConsentClient,
        final CasConfigurationProperties casProperties) {
        val db = casProperties.getConsent().getDynamoDb();
        val facilitator = new DynamoDbConsentFacilitator(db, amazonDynamoDbConsentClient);
        if (!db.isPreventTableCreationOnStartup()) {
            facilitator.createTable(db.isDropTablesOnStartup());
        }
        return facilitator;
    }
This is {@link CasConsentDynamoDbAutoConfiguration}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-consent-dynamodb/src/main/java/org/apereo/cas/config/CasConsentDynamoDbAutoConfiguration.java