CmdID

CmdID / aws / aws ec2

aws ec2 create-replace-root-volume-task

Replaces the EBS-backed root volume for a running instance with a new volume that is restored to the original root volume's launch state, that is restored to a specific snapshot taken from the original root volume, that is restored from an AMI that has the same key characteristics as that of the instance, or that is replaced by a specified volume. AWS CLI reference

9 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

9 in the AWS CLI reference
--client-tokenUnique, case-sensitive identifier you provide to ensure the idempotency of the request.
--delete-replaced-root-volumeIndicates whether to automatically delete the original root volume after the root volume replacement task completes.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--image-idThe ID of the AMI to use to restore the root volume.
--instance-idThe ID of the instance for which to replace the root volume.
--snapshot-idThe ID of the snapshot from which to restore the replacement root volume.
--tag-specificationsThe tags to apply to the root volume replacement task.
--volume-idThe ID of the volume to use as the replacement root volume.
--volume-initialization-rateSpecifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the replacement root volume.