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
show all
Defined in:
(unknown)

Overview

Note:

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 Attribute Details

#instance_warmupInteger

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.

Returns:

  • (Integer)

    The number of seconds until a newly launched instance is configured and ready to use.

#min_healthy_percentageInteger

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.

Returns:

  • (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).