class AwsRDSPlatform extends Platform {

    public boolean isInstanceSnapshotRunning (String dbInstanceIdentifier) {
        log.debug("Evaluating if {} is backing up", kv(AWS_RDS_INSTANCE_DATADOG_IDENTIFIER, dbInstanceIdentifier));
        boolean snapshotRunning = amazonRDS.describeDBInstances(new DescribeDBInstancesRequest().withDBInstanceIdentifier(dbInstanceIdentifier))
                                           .getDBInstances()
                                           .stream()
                                           .anyMatch(dbInstance -> dbInstance.getDBInstanceStatus().equals(AWS_RDS_BACKING_UP));
        log.info("{} is backing up = {}", kv(AWS_RDS_INSTANCE_DATADOG_IDENTIFIER, dbInstanceIdentifier), v("backupInProgress", snapshotRunning));
        return snapshotRunning;
    }

    @Autowired public  AwsRDSPlatform();
      AwsRDSPlatform(AmazonRDS amazonRDS, AmazonEC2 amazonEC2);

}