C# Class Amazon.EC2.Model.CreateImageRequest

Container for the parameters to the CreateImage operation.

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 .

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateImageRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateImageRequest ( string instanceId, string name ) : System

Instantiates CreateImageRequest with the parameterized properties

Private Methods

Method Description
IsSetBlockDeviceMappings ( ) : bool
IsSetDescription ( ) : bool
IsSetInstanceId ( ) : bool
IsSetName ( ) : bool
IsSetNoReboot ( ) : bool

Method Details

CreateImageRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateImageRequest ( ) : System
return System

CreateImageRequest() public method

Instantiates CreateImageRequest with the parameterized properties
public CreateImageRequest ( string instanceId, string name ) : System
instanceId string The ID of the instance.
name string A name for the new image. Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
return System