AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Constructs an image importer to upload and convert virtual machine image or disk volumes for use with Amazon EC2. The importer will use the supplied clients for communicating with Amazon S3 and Amazon EC2. Note that the clients should be configured to use the same region and AWS account.

Namespace: Amazon.EC2.Import
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public DiskImageImporter(
         IAmazonS3 s3Client,
         IAmazonEC2 ec2Client,
         String bucketName
)

Parameters

s3Client
Type: Amazon.S3.IAmazonS3

Client to use to upload artifacts to Amazon S3

ec2Client
Type: Amazon.EC2.IAmazonEC2

Client to use to request image conversion in Amazon EC2

bucketName
Type: System.String

The name of the Amazon S3 bucket that will contain the uploaded image and manifest. If the bucket does not exist it will be created.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5