ReplaceRootVolumeTask
¶
Source code in docs_src/capo_ec2/types/replace_root_volume_task.py
delete_replaced_root_volume
instance-attribute
¶
delete_replaced_root_volume: NotRequired[Boolean]
Indicates whether the original root volume is to be deleted after the root volume replacement task completes.
image_id
instance-attribute
¶
image_id: NotRequired[ImageId]
The ID of the AMI used to create the replacement root volume.
instance_id
instance-attribute
¶
instance_id: NotRequired[String]
The ID of the instance for which the root volume replacement task was created.
replace_root_volume_task_id
instance-attribute
¶
replace_root_volume_task_id: NotRequired[ReplaceRootVolumeTaskId]
The ID of the root volume replacement task.
snapshot_id
instance-attribute
¶
snapshot_id: NotRequired[SnapshotId]
The ID of the snapshot used to create the replacement root volume.
task_state
instance-attribute
¶
task_state: NotRequired[ReplaceRootVolumeTaskState]
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.