Class: Aws::AutoScaling::Types::InstanceRefresh
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::InstanceRefresh
- Defined in:
- gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb
Overview
Describes an instance refresh for an Auto Scaling group.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
-
#desired_configuration ⇒ Types::DesiredConfiguration
Describes the desired configuration for the instance refresh.
-
#end_time ⇒ Time
The date and time at which the instance refresh ended.
-
#instance_refresh_id ⇒ String
The instance refresh ID.
-
#instances_to_update ⇒ Integer
The number of instances remaining to update before the instance refresh is complete.
-
#percentage_complete ⇒ Integer
The percentage of the instance refresh that is complete.
-
#preferences ⇒ Types::RefreshPreferences
The preferences for an instance refresh.
-
#progress_details ⇒ Types::InstanceRefreshProgressDetails
Additional progress details for an Auto Scaling group that has a warm pool.
-
#rollback_details ⇒ Types::RollbackDetails
The rollback details.
-
#start_time ⇒ Time
The date and time at which the instance refresh began.
-
#status ⇒ String
The current status for the instance refresh operation:.
-
#status_reason ⇒ String
The explanation for the specific status assigned to this operation.
-
#strategy ⇒ String
The strategy to use for the instance refresh.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#desired_configuration ⇒ Types::DesiredConfiguration
Describes the desired configuration for the instance refresh.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#end_time ⇒ Time
The date and time at which the instance refresh ended.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#instance_refresh_id ⇒ String
The instance refresh ID.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#instances_to_update ⇒ Integer
The number of instances remaining to update before the instance refresh is complete.
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.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#percentage_complete ⇒ Integer
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.
PercentageComplete does not include instances that are replaced
during a rollback. This value gradually goes back down to zero
during a rollback.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#preferences ⇒ Types::RefreshPreferences
The preferences for an instance refresh.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#progress_details ⇒ Types::InstanceRefreshProgressDetails
Additional progress details for an Auto Scaling group that has a warm pool.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#rollback_details ⇒ Types::RollbackDetails
The rollback details.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#start_time ⇒ Time
The date and time at which the instance refresh began.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
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.Baking- Waiting the specified bake time after an instance refresh has finished updating instances.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#status_reason ⇒ String
The explanation for the specific status assigned to this operation.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |
#strategy ⇒ String
The strategy to use for the instance refresh. This determines how instances in the Auto Scaling group are updated. Default is Rolling.
Rolling– Terminates instances and launches replacements in batchesReplaceRootVolume– Updates instances by replacing only the root volume without terminating the instance
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3833 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, :strategy) SENSITIVE = [] include Aws::Structure end |