AWSAutoScalingInstanceRefresh

Objective-C

@interface AWSAutoScalingInstanceRefresh

Swift

class AWSAutoScalingInstanceRefresh

Describes an instance refresh for an Auto Scaling group.

  • The name of the Auto Scaling group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable autoScalingGroupName;

    Swift

    var autoScalingGroupName: String? { get set }
  • The date and time at which the instance refresh ended.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable endTime;

    Swift

    var endTime: Date? { get set }
  • The instance refresh ID.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceRefreshId;

    Swift

    var instanceRefreshId: String? { get set }
  • The number of instances remaining to update before the instance refresh is complete.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable instancesToUpdate;

    Swift

    var instancesToUpdate: NSNumber? { get set }
  • 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 added to the percentage complete.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable percentageComplete;

    Swift

    var percentageComplete: NSNumber? { get set }
  • The date and time at which the instance refresh began.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable startTime;

    Swift

    var startTime: Date? { get set }
  • The current status for the instance refresh operation:

    • Pending - The request was created, but the operation has not started.

    • InProgress - The operation is in progress.

    • Successful - The operation completed successfully.

    • Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.

    • Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.

    • Cancelled - The operation is cancelled.

    Declaration

    Objective-C

    @property (nonatomic) AWSAutoScalingInstanceRefreshStatus status;

    Swift

    var status: AWSAutoScalingInstanceRefreshStatus { get set }
  • Provides more details about the current status of the instance refresh.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable statusReason;

    Swift

    var statusReason: String? { get set }