Cancel an instance export task - VM Import/Export

Cancel an instance export task

If you need to, you can use the following cancel-export-task command to cancel the export of an instance that is in progress. This command removes all artifacts of the export, including any partially created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error. For more information about how to retrieve details about active instance export tasks, see Monitor an instance export task.

aws ec2 cancel-export-task --export-task-id export-i-1234567890abcdef0