List of usage examples for com.amazonaws.services.cloudformation.model DescribeStackSetRequest DescribeStackSetRequest
DescribeStackSetRequest
From source file:de.taimos.pipeline.aws.cloudformation.stacksets.CloudFormationStackSet.java
License:Apache License
public boolean exists() { try {//from www .ja v a2 s . c o m this.client.describeStackSet(new DescribeStackSetRequest().withStackSetName(this.stackSet)); return true; } catch (AmazonCloudFormationException e) { if ("StackSetNotFoundException".equals(e.getErrorCode())) { return false; } else { this.listener.getLogger().format("Got error from describeStacks: %s %n", e.getErrorMessage()); throw e; } } }
From source file:de.taimos.pipeline.aws.cloudformation.stacksets.CloudFormationStackSet.java
License:Apache License
DescribeStackSetResult describe() {
return this.client.describeStackSet(new DescribeStackSetRequest().withStackSetName(this.stackSet));
}