List of usage examples for com.amazonaws.services.cloudformation.model DeleteStackRequest withStackName
public DeleteStackRequest withStackName(String stackName)
The name or the unique stack ID that is associated with the stack.
From source file:com.carrotgarden.maven.aws.cfn.CarrotCloudForm.java
License:BSD License
/** *//*from w w w . ja va 2 s . co m*/ public Stack stackDelete() throws Exception { final DeleteStackRequest request = new DeleteStackRequest(); request.withStackName(name); amazonClient.deleteStack(request); final Stack stack = waitForStackDelete(); return stack; }