Example usage for com.amazonaws.services.cloudformation.model DescribeChangeSetResult getChanges

List of usage examples for com.amazonaws.services.cloudformation.model DescribeChangeSetResult getChanges

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudformation.model DescribeChangeSetResult getChanges.

Prototype


public java.util.List<Change> getChanges() 

Source Link

Document

A list of Change structures that describes the resources AWS CloudFormation changes if you execute the change set.

Usage

From source file:de.taimos.pipeline.aws.cloudformation.CloudFormationStack.java

License:Apache License

private boolean changeSetHasChanges(String changeSetName) {
    DescribeChangeSetResult result = this.client.describeChangeSet(
            new DescribeChangeSetRequest().withStackName(this.stack).withChangeSetName(changeSetName));
    return !result.getChanges().isEmpty();
}