aws ec2 export-image
Exports an Amazon Machine Image (AMI) to a VM file. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--client-tokenToken to enable idempotency for export image requests.--descriptionA description of the image being exported.--disk-image-formatThe disk image format.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--image-idThe ID of the image.--role-nameThe name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.--s3-export-locationThe Amazon S3 bucket for the destination image.--tag-specificationsThe tags to apply to the export image task during creation.