@Bean
    @ConditionalOnAvailableEndpoint
    public CloudWatchLogsEndpoint cloudWatchLogsEndpoint(final CasConfigurationProperties casProperties,
                                                         final ConfigurableApplicationContext applicationContext,
                                                         @Qualifier("cloudWatchLogsClient")
                                                         final ObjectProvider<CloudWatchLogsClient> cloudWatchLogsClient) {
        val cloudwatch = casProperties.getLogging().getCloudwatch();
        Assert.hasText(cloudwatch.getLogGroupName(), "CloudWatch log group name cannot be blank");
        Assert.hasText(cloudwatch.getLogStreamName(), "CloudWatch log stream name cannot be blank");
        return new CloudWatchLogsEndpoint(casProperties, applicationContext, cloudWatchLogsClient);
    }
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