@Override
  public boolean isValidConfigType(String configType) {
    if (ConfigHelper.CLUSTER_ENV.equals(configType) || "global".equals(configType)) {
      return true;
    }
    return getStack().getServicesForConfigType(configType).stream().anyMatch(getServices()::contains);
  }
A config type is valid if there are services related to except cluster-env and global.
ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintImpl.java