You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AutoScaling::Types::RefreshPreferences
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::RefreshPreferences
- Defined in:
- (unknown)
Overview
When passing RefreshPreferences as input to an Aws::Client method, you can use a vanilla Hash:
{
min_healthy_percentage: 1,
instance_warmup: 1,
}
Describes information used to start an instance refresh.
Returned by:
Instance Attribute Summary collapse
-
#instance_warmup ⇒ Integer
The number of seconds until a newly launched instance is configured and ready to use.
-
#min_healthy_percentage ⇒ Integer
The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group (rounded up to the nearest integer).
Instance Attribute Details
#instance_warmup ⇒ Integer
The number of seconds until a newly launched instance is configured and ready to use. During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The default is to use the value for the health check grace period defined for the group.
#min_healthy_percentage ⇒ Integer
The amount of capacity in the Auto Scaling group that must remain
healthy during an instance refresh to allow the operation to continue,
as a percentage of the desired capacity of the Auto Scaling group
(rounded up to the nearest integer). The default is 90
.