@Bean
    @ConditionalOnMissingBean(name = "awsFirehoseAuditTrailManager")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public AuditTrailManager awsFirehoseAuditTrailManager(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier("awsFirehoseAuditClient")
        final FirehoseClient awsFirehoseAuditClient,
        final CasConfigurationProperties casProperties) {
        val amazonFirehose = casProperties.getAudit().getAmazonFirehose();
        return new AmazonFirehoseAuditTrailManager(awsFirehoseAuditClient,
            new AuditActionContextJsonSerializer(applicationContext),
            amazonFirehose);
    }
This is {@link CasSupportAmazonFirehoseAuditAutoConfiguration}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-audit-aws-firehose/src/main/java/org/apereo/cas/config/CasSupportAmazonFirehoseAuditAutoConfiguration.java