@ConditionalOnMissingBean(name = "amazonSimpleEmailServiceClient")
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public SesClient amazonSimpleEmailServiceClient(
        final CasConfigurationProperties casProperties) {
        val props = casProperties.getEmailProvider().getSes();
        val provider = ChainingAWSCredentialsProvider.getInstance(props.getCredentialAccessKey(), props.getCredentialSecretKey());
        val builder = SesClient.builder();
        AmazonClientConfigurationBuilder.prepareSyncClientBuilder(builder, provider, props);
        return builder.build();
    }
This is {@link CasAmazonSimpleEmailServiceAutoConfiguration}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-aws-ses/src/main/java/org/apereo/cas/config/CasAmazonSimpleEmailServiceAutoConfiguration.java