AWSEC2ReplaceRootVolumeTask

Objective-C

@interface AWSEC2ReplaceRootVolumeTask

Swift

class AWSEC2ReplaceRootVolumeTask

Information about a root volume replacement task.

  • The time the task completed.

    Declaration

    Objective-C

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

    Swift

    var completeTime: String? { get set }
  • Indicates whether the original root volume is to be deleted after the root volume replacement task completes.

    Declaration

    Objective-C

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

    Swift

    var deleteReplacedRootVolume: NSNumber? { get set }
  • The ID of the AMI used to create the replacement root volume.

    Declaration

    Objective-C

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

    Swift

    var imageId: String? { get set }
  • The ID of the instance for which the root volume replacement task was created.

    Declaration

    Objective-C

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

    Swift

    var instanceId: String? { get set }
  • The ID of the root volume replacement task.

    Declaration

    Objective-C

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

    Swift

    var replaceRootVolumeTaskId: String? { get set }
  • The ID of the snapshot used to create the replacement root volume.

    Declaration

    Objective-C

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

    Swift

    var snapshotId: String? { get set }
  • The time the task was started.

    Declaration

    Objective-C

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

    Swift

    var startTime: String? { get set }
  • The tags assigned to the task.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The state of the task. The task can be in one of the following states:

    • pending - the replacement volume is being created.

    • in-progress - the original volume is being detached and the replacement volume is being attached.

    • succeeded - the replacement volume has been successfully attached to the instance and the instance is available.

    • failing - the replacement task is in the process of failing.

    • failed - the replacement task has failed but the original root volume is still attached.

    • failing-detached - the replacement task is in the process of failing. The instance might have no root volume attached.

    • failed-detached - the replacement task has failed and the instance has no root volume attached.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2ReplaceRootVolumeTaskState taskState;

    Swift

    var taskState: AWSEC2ReplaceRootVolumeTaskState { get set }