InstanceRefresh
¶
Source code in docs_src/capo_auto_scaling/types/instance_refresh.py
auto_scaling_group_name
instance-attribute
¶
auto_scaling_group_name: NotRequired[XmlStringMaxLen255]
The name of the Auto Scaling group.
desired_configuration
instance-attribute
¶
desired_configuration: NotRequired[DesiredConfiguration]
Describes the desired configuration for the instance refresh.
end_time
instance-attribute
¶
end_time: NotRequired[TimestampType]
The date and time at which the instance refresh ended.
instance_refresh_id
instance-attribute
¶
instance_refresh_id: NotRequired[XmlStringMaxLen255]
The instance refresh ID.
instances_to_update
instance-attribute
¶
instances_to_update: NotRequired[InstancesToUpdate]
The number of instances remaining to update before the instance refresh is complete.
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.
percentage_complete
instance-attribute
¶
percentage_complete: NotRequired[IntPercent]
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.
preferences
instance-attribute
¶
preferences: NotRequired[RefreshPreferences]
The preferences for an instance refresh.
progress_details
instance-attribute
¶
progress_details: NotRequired[InstanceRefreshProgressDetails]
Additional progress details for an Auto Scaling group that has a warm pool.
rollback_details
instance-attribute
¶
rollback_details: NotRequired[RollbackDetails]
The rollback details.
start_time
instance-attribute
¶
start_time: NotRequired[TimestampType]
The date and time at which the instance refresh began.
status
instance-attribute
¶
status: NotRequired[InstanceRefreshStatus]
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.
status_reason
instance-attribute
¶
status_reason: NotRequired[XmlStringMaxLen1023]
The explanation for the specific status assigned to this operation.
strategy
instance-attribute
¶
strategy: NotRequired[RefreshStrategy]
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 batches -
ReplaceRootVolume– Updates instances by replacing only the root volume without terminating the instance