aws ec2 import-snapshot
Imports a disk into an EBS snapshot. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--client-dataThe client-specific data.--client-tokenToken to enable idempotency for VM import requests.--descriptionThe description string for the import snapshot task.--disk-containerInformation about the disk container.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--encryptedSpecifies whether the destination snapshot of the imported image should be encrypted.--kms-key-idAn identifier for the symmetric KMS key to use when creating the encrypted snapshot.--role-nameThe name of the role to use when not using the default role, 'vmimport'.--tag-specificationsThe tags to apply to the import snapshot task during creation.