class AwsRDSClusterContainer extends AwsContainer {

    @ChaosExperiment(experimentType = ExperimentType.STATE)
    public void restartInstances (Experiment experiment) {
        final String[] dbInstanceIdentifiers = getSomeMembers().toArray(new String[0]);
        experiment.setCheckContainerHealth(() -> awsRDSPlatform.getInstanceStatus(dbInstanceIdentifiers));
        awsRDSPlatform.restartInstance(dbInstanceIdentifiers);
    }

}