Method: Aws::AutoScaling::Types::RefreshPreferences#auto_rollback
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
#auto_rollback ⇒ Boolean
(Optional) Indicates whether to roll back the Auto Scaling group to its previous configuration if the instance refresh fails or a CloudWatch alarm threshold is met. The default is ‘false`.
A rollback is not supported in the following situations:
-
There is no desired configuration specified for the instance refresh.
-
The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead of an AMI ID for the ‘ImageId` property.
-
The Auto Scaling group uses the launch template’s ‘$Latest` or `$Default` version.
For more information, see [Undo changes with a rollback] in the *Amazon EC2 Auto Scaling User Guide*.
[1]: docs.aws.amazon.com/autoscaling/ec2/userguide/instance-refresh-rollback.html
6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 6830 class RefreshPreferences < Struct.new( :min_healthy_percentage, :instance_warmup, :checkpoint_percentages, :checkpoint_delay, :skip_matching, :auto_rollback, :scale_in_protected_instances, :standby_instances, :alarm_specification, :max_healthy_percentage, :bake_time) SENSITIVE = [] include Aws::Structure end |