CmdID

CmdID / aws / aws ec2

aws ec2 cancel-conversion-task

Cancels an active conversion task. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

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

Examples

from aws-cli, each command read by CmdID

To cancel an active conversion of an instance or a volume

The following cancel-conversion-task example cancels the upload associated with the task ID import-i-fh95npoc.

aws ec2 cancel-conversion-task --conversion-task-id import-i-fh95npocIdentify
--conversion-task-idThe ID of the conversion task.

This command produces no output.

For more information, see Import a VM as an EC2 instance using VM Import/Export in the VM Import/Export User Guide.

Options

3 in the AWS CLI reference
--conversion-task-idThe ID of the conversion task.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--reason-messageThe reason for canceling the conversion task.