class SnsConfiguration {

  @Bean
  AWSCredentialsProvider awsCredentialsProvider(
      @Qualifier("replicaHiveConf") org.apache.hadoop.conf.Configuration conf) {
    return new AWSCredentialsProviderChain(new BasicAuth(conf), InstanceProfileCredentialsProvider.getInstance());
  }

}