bxt.request.cli.cloudformation.CancelUpdateStack Maven / Gradle / Ivy
package bxt.request.cli.cloudformation;
import bxt.command.CommandLineParams;
import com.amazonaws.services.cloudformation.model.CancelUpdateStackRequest;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
@Parameters(separators = " =")
public final class CancelUpdateStack implements CommandLineParams {
@Parameter(names = {"--stack-name"}, required = true)
private String stackName;
@Override
public CancelUpdateStackRequest get() {
return new CancelUpdateStackRequest().withStackName(stackName);
}
}