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.
For more information, see Replace a root volume in the Amazon EC2 User Guide .
See also: AWS API Documentation
create-replace-root-volume-task
--instance-id <value>
[--snapshot-id <value>]
[--client-token <value>]
[--dry-run | --no-dry-run]
[--tag-specifications <value>]
[--image-id <value>]
[--delete-replaced-root-volume | --no-delete-replaced-root-volume]
[--volume-initialization-rate <value>]
[--volume-id <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[