@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnAvailableEndpoint
    public AmazonSecurityTokenServiceEndpoint awsSecurityTokenServiceEndpoint(
        final ConfigurableApplicationContext applicationContext,
        final ObjectProvider<CasConfigurationProperties> casProperties,
        @Qualifier(RestAuthenticationService.DEFAULT_BEAN_NAME)
        final ObjectProvider<RestAuthenticationService> restAuthenticationService) {
        return new AmazonSecurityTokenServiceEndpoint(casProperties, applicationContext, restAuthenticationService);
    }
This is {@link CasAmazonCoreAutoConfiguration}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-aws/src/main/java/org/apereo/cas/config/CasAmazonCoreAutoConfiguration.java