class EnvironmentValidator {

    public void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment) {
        LOGGER.debug("Checking environment validity for stack {}", stackName);
        if (CloudPlatform.AWS.name().equalsIgnoreCase(environment.getCloudPlatform())) {
            checkAwsEnvironment(stackName, externalDatabase, environment);
        }
    }

}