AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Uploads and requests import conversion of a virtual machine image file to an Amazon EC2 instance.
public ImportInstanceResponse ImportInstance( String imageFilepath, String fileFormat, Nullable<Int64> volumeSize, String keyPrefix, ImportLaunchConfiguration launchConfiguration, ImportProgressCallback progressCallback )
The full path to the image file to be processed
The format of the image file (VMDK | RAW | VHD). If not specified, it will be inferred from the extension of the image file.
The requested size (in GiB) for the resulting image volume. If not specified a suitable value based on the size of the image file is used. Note that the minimum required boot volume size for EC2 is 8GB.
Optional root-level key prefix that will be applied to the uploaded artifacts in S3. The artifacts will be placed beneath this (or the root if not set) in a key composed of a GUID.
Launch configuration settings for the imported instance
Optional callback delegate for upload progress reporting
Supported in: 4.5, 4.0, 3.5