Class: Aws::AutoScaling::Types::InstanceRefresh

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-autoscaling/types.rb

Overview

Describes an instance refresh for an Auto Scaling group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#desired_configurationTypes::DesiredConfiguration

Describes the desired configuration for the instance refresh.



3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The date and time at which the instance refresh ended.

Returns:

  • (Time)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#instance_refresh_idString

The instance refresh ID.

Returns:

  • (String)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#instances_to_updateInteger

The number of instances remaining to update before the instance refresh is complete.

<note markdown=“1”> If you roll back the instance refresh, ‘InstancesToUpdate` shows you the number of instances that were not yet updated by the instance refresh. Therefore, these instances don’t need to be replaced as part of the rollback.

</note>

Returns:

  • (Integer)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#percentage_completeInteger

The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance’s health status and warm-up time. When the instance’s health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

<note markdown=“1”> ‘PercentageComplete` does not include instances that are replaced during a rollback. This value gradually goes back down to zero during a rollback.

</note>

Returns:

  • (Integer)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#preferencesTypes::RefreshPreferences

The preferences for an instance refresh.



3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#progress_detailsTypes::InstanceRefreshProgressDetails

Additional progress details for an Auto Scaling group that has a warm pool.



3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#rollback_detailsTypes::RollbackDetails

The rollback details.



3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The date and time at which the instance refresh began.

Returns:

  • (Time)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current status for the instance refresh operation:

  • ‘Pending` - The request was created, but the instance refresh has not started.

  • ‘InProgress` - An instance refresh is in progress.

  • ‘Successful` - An instance refresh completed successfully.

  • ‘Failed` - An instance refresh failed to complete. You can troubleshoot using the status reason and the scaling activities.

  • ‘Cancelling` - An ongoing instance refresh is being cancelled.

  • ‘Cancelled` - The instance refresh is cancelled.

  • ‘RollbackInProgress` - An instance refresh is being rolled back.

  • ‘RollbackFailed` - The rollback failed to complete. You can troubleshoot using the status reason and the scaling activities.

  • ‘RollbackSuccessful` - The rollback completed successfully.

Returns:

  • (String)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end

#status_reasonString

The explanation for the specific status assigned to this operation.

Returns:

  • (String)


3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
# File 'lib/aws-sdk-autoscaling/types.rb', line 3403

class InstanceRefresh < Struct.new(
  :instance_refresh_id,
  :auto_scaling_group_name,
  :status,
  :status_reason,
  :start_time,
  :end_time,
  :percentage_complete,
  :instances_to_update,
  :progress_details,
  :preferences,
  :desired_configuration,
  :rollback_details)
  SENSITIVE = []
  include Aws::Structure
end