Class CloudFormationStack
java.lang.Object
de.taimos.pipeline.aws.cloudformation.CloudFormationStack
-
Constructor Summary
ConstructorDescriptionCloudFormationStack
(com.amazonaws.services.cloudformation.AmazonCloudFormation client, String stack, TaskListener listener) -
Method Summary
Modifier and TypeMethodDescriptionboolean
changeSetExists
(String changeSetName) create
(String templateBody, String templateUrl, Collection<com.amazonaws.services.cloudformation.model.Parameter> params, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, PollConfiguration pollConfiguration, String roleArn, String onFailure, Boolean enableTerminationProtection) void
createChangeSet
(String changeSetName, String templateBody, String templateUrl, Collection<com.amazonaws.services.cloudformation.model.Parameter> params, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, PollConfiguration pollConfiguration, com.amazonaws.services.cloudformation.model.ChangeSetType changeSetType, String roleArn, com.amazonaws.services.cloudformation.model.RollbackConfiguration rollbackConfig) void
delete
(PollConfiguration pollConfiguration, String[] retainResources, String roleArn, String clientRequestToken) com.amazonaws.services.cloudformation.model.DescribeChangeSetResult
describeChangeSet
(String changeSet) executeChangeSet
(String changeSetName, PollConfiguration pollConfiguration) boolean
exists()
protected de.taimos.pipeline.aws.cloudformation.EventPrinter
update
(String templateBody, String templateUrl, Collection<com.amazonaws.services.cloudformation.model.Parameter> params, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, PollConfiguration pollConfiguration, String roleArn, com.amazonaws.services.cloudformation.model.RollbackConfiguration rollbackConfig)
-
Constructor Details
-
CloudFormationStack
public CloudFormationStack(com.amazonaws.services.cloudformation.AmazonCloudFormation client, String stack, TaskListener listener)
-
-
Method Details
-
exists
public boolean exists() -
changeSetExists
-
describeOutputs
-
create
public Map<String,String> create(String templateBody, String templateUrl, Collection<com.amazonaws.services.cloudformation.model.Parameter> params, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, PollConfiguration pollConfiguration, String roleArn, String onFailure, Boolean enableTerminationProtection) throws ExecutionException - Throws:
ExecutionException
-
getEventPrinter
protected de.taimos.pipeline.aws.cloudformation.EventPrinter getEventPrinter() -
update
public Map<String,String> update(String templateBody, String templateUrl, Collection<com.amazonaws.services.cloudformation.model.Parameter> params, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, PollConfiguration pollConfiguration, String roleArn, com.amazonaws.services.cloudformation.model.RollbackConfiguration rollbackConfig) throws ExecutionException - Throws:
ExecutionException
-
createChangeSet
public void createChangeSet(String changeSetName, String templateBody, String templateUrl, Collection<com.amazonaws.services.cloudformation.model.Parameter> params, Collection<com.amazonaws.services.cloudformation.model.Tag> tags, Collection<String> notificationARNs, PollConfiguration pollConfiguration, com.amazonaws.services.cloudformation.model.ChangeSetType changeSetType, String roleArn, com.amazonaws.services.cloudformation.model.RollbackConfiguration rollbackConfig) throws ExecutionException - Throws:
ExecutionException
-
executeChangeSet
public Map<String,String> executeChangeSet(String changeSetName, PollConfiguration pollConfiguration) throws ExecutionException - Throws:
ExecutionException
-
delete
public void delete(PollConfiguration pollConfiguration, String[] retainResources, String roleArn, String clientRequestToken) throws ExecutionException - Throws:
ExecutionException
-
describeChangeSet
public com.amazonaws.services.cloudformation.model.DescribeChangeSetResult describeChangeSet(String changeSet)
-