use of com.amazonaws.services.cloudformation.model.ListStackInstancesResult in project pipeline-aws-plugin by jenkinsci.
the class CloudFormationStackSet method findStackSetInstances.
public List<StackInstanceSummary> findStackSetInstances() {
List<StackInstanceSummary> summaries = new ArrayList<>();
ListStackInstancesRequest request = new ListStackInstancesRequest().withStackSetName(this.stackSet);
do {
ListStackInstancesResult result = this.client.listStackInstances(request);
request.setNextToken(result.getNextToken());
summaries.addAll(result.getSummaries());
} while (request.getNextToken() != null);
return summaries;
}
Aggregations