Skip to contents

Cancels an instance refresh or rollback that is in progress. If an instance refresh or rollback is not in progress, an ActiveInstanceRefreshNotFound error occurs.

See https://www.paws-r-sdk.com/docs/autoscaling_cancel_instance_refresh/ for full documentation.

Usage

autoscaling_cancel_instance_refresh(
  AutoScalingGroupName,
  WaitForTransitioningInstances = NULL
)

Arguments

AutoScalingGroupName

[required] The name of the Auto Scaling group.

WaitForTransitioningInstances

When cancelling an instance refresh, this indicates whether to wait for in-flight launches and terminations to complete. The default is true.

When set to false, Amazon EC2 Auto Scaling cancels the instance refresh without waiting for any pending launches or terminations to complete.