@Bean
    @ConditionalOnMissingBean(name = "cloudWatchLogsClient")
    @RefreshScope
    public CloudWatchLogsClient cloudWatchLogsClient(final CasConfigurationProperties casProperties) {
        val amz = casProperties.getLogging().getCloudwatch();
        val credentials = ChainingAWSCredentialsProvider.getInstance(amz.getCredentialAccessKey(),
            amz.getCredentialSecretKey(), amz.getProfilePath(), amz.getProfileName());
        val builder = CloudWatchLogsClient.builder();
        AmazonClientConfigurationBuilder.prepareSyncClientBuilder(builder, credentials, amz);
        return builder.build();
    }
This is {@link CasAmazonCloudWatchLoggingConfiguration}.

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