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
 
Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.

If you customized your instance with instance store volumes or EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes.

For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide.

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

Syntax

C#
public abstract CreateImageResponse CreateImage(
         CreateImageRequest request
)

Parameters

request
Type: Amazon.EC2.Model.CreateImageRequest

Container for the necessary parameters to execute the CreateImage service method.

Return Value
Type: Amazon.EC2.Model.CreateImageResponse
The response from the CreateImage service method, as returned by EC2.

Version Information

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