Cancel an import image task - VM Import/Export

Cancel an import image task

If you need to cancel an active import task, use the cancel-import-task command. For more information about how to retrieve details about active import image tasks, see Monitor an import image task.

aws ec2 cancel-import-task --import-task-id import-ami-1234567890abcdef0