Cancel an import snapshot task - VM Import/Export
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Cancel an import snapshot task

After you start an import snapshot task using VM Import/Export, you can cancel the import operation if needed.

To describe your snapshot import tasks, see Monitor an import snapshot task.

Amazon CLI
To cancel an import snapshot task

Use the cancel-import-task command.

aws ec2 cancel-import-task \ --import-task-id import-snap-1234567890abcdef0
PowerShell
To cancel an import snapshot task

Use the Stop-EC2ImportTask cmdlet.

Stop-EC2ImportTask ` -ImportTaskId import-snap-1234567890abcdef0