in aws-codedeploy-common/src/main/java/jetbrains/buildServer/runner/codedeploy/CodeDeployUtil.java [140:143]
private static String getNewOrOld(@NotNull Map<String, String> params, @NotNull String newKey, @NotNull String oldKey) {
final String newVal = params.get(newKey);
return StringUtil.isNotEmpty(newVal) ? newVal : params.get(oldKey);
}