class AwsRDSPlatform extends Platform {

    void cleanupOldInstanceSnapshots (int olderThanMinutes) {
        amazonRDS.describeDBSnapshots()
                 .getDBSnapshots()
                 .stream()
                 .filter(dbSnapshot -> AwsRDSUtils.isChaosSnapshot(dbSnapshot.getDBSnapshotIdentifier()))
                 .filter(dbSnapshot -> snapshotIsOlderThan(dbSnapshot.getDBSnapshotIdentifier(), olderThanMinutes))
                 .peek(dbSnapshot -> log.info("Deleting instance snapshot {} since it is out of date", v("dbSnapshot", dbSnapshot)))
                 .parallel()
                 .forEach(this::deleteInstanceSnapshot);
    }

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

}