Skip to content

/AWS1/CL_EC2=>CREATEINSTANCEEXPORTTASK()

About CreateInstanceExportTask

Exports a running or stopped instance to an Amazon S3 bucket.

For information about the prerequisites for your Amazon S3 bucket, supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting an instance as a VM Using VM Import/Export in the VM Import/Export User Guide.

Method Signature

IMPORTING

Required arguments:

IO_EXPORTTOS3TASK TYPE REF TO /AWS1/CL_EC2EXPORTTOS3TASKSPEC /AWS1/CL_EC2EXPORTTOS3TASKSPEC

The format and location for an export instance task.

IV_INSTANCEID TYPE /AWS1/EC2INSTANCEID /AWS1/EC2INSTANCEID

The ID of the instance.

IV_TARGETENVIRONMENT TYPE /AWS1/EC2EXPORTENVIRONMENT /AWS1/EC2EXPORTENVIRONMENT

The target virtualization environment.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A description for the conversion task or the resource being exported. The maximum length is 255 characters.

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to apply to the export instance task during creation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CREINSTEXPTASKRSLT /AWS1/CL_EC2CREINSTEXPTASKRSLT