CreateInstanceExportTask#

Description#

Creating an instance export task.

Request Parameters#

Required parameters#

  • ExportToS3:

    • S3Bucket — User’s S3 bucket where the resulting exported image will be uploaded.

      • Type: String

      • Required: Yes

    • DiskImageFormat — The format for the exported image (VMDK | RAW | VHD | VMDK+OVF).

      • Type: String

      • Required: No

    • S3Prefix — The export result will get a prefix in the format s3prefix + "-" + exportTaskId + "/" .

      • Type: String

      • Required: No

  • instanceId — The ID of the instance.

    • Type: String

    • Required: Yes

Optional parameters#

  • Description — The description of the task.

    • Type: String

    • Required: No

  • Email — An email address for notifications.

    • Type: String

    • Required: No

  • Notify — Notify about the state of the task by email.

    • Type: String

    • Required: No

Response Elements#

Examples#

c2-ec2 CreateInstanceExportTask InstanceId <instance_id> Description <description> ExportToS3.DiskImageFormat <disk_image_format> ExportToS3.S3Bucket <s3_bucket> ExportToS3.S3Prefix <s3_prefix>