{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-auto-scaling/refs/heads/main/json-structure/ec2-auto-scaling-instance-refresh-structure.json", "name": "InstanceRefresh", "description": "Describes an instance refresh for an Auto Scaling group. ", "type": "object", "properties": { "InstanceRefreshId": { "allOf": [ { "$ref": "#/components/schemas/XmlStringMaxLen255" }, { "description": "The instance refresh ID." } ] }, "AutoScalingGroupName": { "allOf": [ { "$ref": "#/components/schemas/XmlStringMaxLen255" }, { "description": "The name of the Auto Scaling group." } ] }, "Status": { "allOf": [ { "$ref": "#/components/schemas/InstanceRefreshStatus" }, { "description": "

The current status for the instance refresh operation:

" } ] }, "StatusReason": { "allOf": [ { "$ref": "#/components/schemas/XmlStringMaxLen1023" }, { "description": "The explanation for the specific status assigned to this operation." } ] }, "StartTime": { "allOf": [ { "$ref": "#/components/schemas/TimestampType" }, { "description": "The date and time at which the instance refresh began." } ] }, "EndTime": { "allOf": [ { "$ref": "#/components/schemas/TimestampType" }, { "description": "The date and time at which the instance refresh ended." } ] }, "PercentageComplete": { "allOf": [ { "$ref": "#/components/schemas/IntPercent" }, { "description": "

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.

" } ] }, "InstancesToUpdate": { "allOf": [ { "$ref": "#/components/schemas/InstancesToUpdate" }, { "description": "

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.

" } ] }, "ProgressDetails": { "allOf": [ { "$ref": "#/components/schemas/InstanceRefreshProgressDetails" }, { "description": "Additional progress details for an Auto Scaling group that has a warm pool." } ] }, "Preferences": { "allOf": [ { "$ref": "#/components/schemas/RefreshPreferences" }, { "description": "The preferences for an instance refresh." } ] }, "DesiredConfiguration": { "allOf": [ { "$ref": "#/components/schemas/DesiredConfiguration" }, { "description": "Describes the desired configuration for the instance refresh." } ] }, "RollbackDetails": { "allOf": [ { "$ref": "#/components/schemas/RollbackDetails" }, { "description": "The rollback details." } ] } } }