@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    @ConditionalOnMissingBean(name = "amazonDynamoDbConsentClient")
    public DynamoDbClient amazonDynamoDbConsentClient(final CasConfigurationProperties casProperties) {
        val db = casProperties.getConsent().getDynamoDb();
        val factory = new AmazonDynamoDbClientFactory();
        return factory.createAmazonDynamoDb(db);
    }
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