@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "amazonS3ServiceRegistry")
    public ServiceRegistry amazonS3ServiceRegistry(
        final ObjectProvider<List<ServiceRegistryListener>> serviceRegistryListeners,
        @Qualifier("amazonS3ServiceRegistryClient")
        final S3Client amazonS3ServiceRegistryClient, final ConfigurableApplicationContext applicationContext) {
        return new AmazonS3ServiceRegistry(applicationContext,
            Optional.ofNullable(serviceRegistryListeners.getIfAvailable()).orElseGet(ArrayList::new), amazonS3ServiceRegistryClient);
    }
This is {@link CasAmazonS3ServiceRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-aws-s3-service-registry/src/main/java/org/apereo/cas/config/CasAmazonS3ServiceRegistryAutoConfiguration.java