ReplaceRootVolumeTask - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ReplaceRootVolumeTask

Information about a root volume replacement task.

Contents

completeTime

The time the task completed.

Type: String

Required: No

deleteReplacedRootVolume

Indicates whether the original root volume is to be deleted after the root volume replacement task completes.

Type: Boolean

Required: No

imageId

The ID of the AMI used to create the replacement root volume.

Type: String

Required: No

instanceId

The ID of the instance for which the root volume replacement task was created.

Type: String

Required: No

replaceRootVolumeTaskId

The ID of the root volume replacement task.

Type: String

Required: No

snapshotId

The ID of the snapshot used to create the replacement root volume.

Type: String

Required: No

startTime

The time the task was started.

Type: String

Required: No

tagSet

The tags assigned to the task.

Type: Array of Tag objects

Required: No

taskState

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.

Type: String

Valid Values: pending | in-progress | failing | succeeded | failed | failed-detached

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: