AWS SDK for .NET Documentation
RegisterImageRequest Class
AmazonAmazon.EC2.ModelRegisterImageRequest Did this page help you?   Yes   No    Tell us about it...
Registers an AMI with Amazon EC2.
Declaration Syntax
C#
public class RegisterImageRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RegisterImageRequest()()()()
Initializes a new instance of the RegisterImageRequest class

Architecture
The architecture of the image. Valid values: i386 | x86_64

BlockDeviceMapping
The device names exposed to the instance (for example, /dev/sdh or xvdh).

Description
The description of the AMI.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ImageLocation
Full path to your AMI manifest in Amazon S3 storage.

IsSetArchitecture()()()()
Checks if Architecture property is set

IsSetBlockDeviceMapping()()()()
Checks if BlockDeviceMapping property is set

IsSetDescription()()()()
Checks if Description property is set

IsSetImageLocation()()()()
Checks if ImageLocation property is set

IsSetKernelId()()()()
Checks if KernelId property is set

IsSetName()()()()
Checks if Name property is set

IsSetRamdiskId()()()()
Checks if RamdiskId property is set

IsSetRootDeviceName()()()()
Checks if RootDeviceName property is set

KernelId
The ID of the kernel to select.

Name
The name of the AMI that was provided during image creation.

RamdiskId
The ID of the RAM disk to select.

RootDeviceName
The root device name (e.g., /dev/sda1).

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithArchitecture(String) Obsolete.
Sets the architecture of the image.

WithBlockDeviceMapping(array<BlockDeviceMapping>[]()[][]) Obsolete.
Sets the device names exposed to the instance (for example, /dev/sdh or xvdh).

WithDescription(String) Obsolete.
Sets the description of the AMI.

WithImageLocation(String) Obsolete.
Sets the full path to your AMI manifest in Amazon S3 storage.

WithKernelId(String) Obsolete.
Sets the ID of the kernel to select.

WithName(String) Obsolete.
Sets the name of the AMI.

WithRamdiskId(String) Obsolete.
Sets the ID of the RAM disk to select.

WithRootDeviceName(String) Obsolete.
Sets the root device name (e.g., /dev/sda1).

Remarks
Images must be registered before they can be launched. To launch instances, use the RunInstances operation. Each AMI is associated with an unique ID which is provided by the Amazon EC2 service through the RegisterImage operation. During registration, Amazon EC2 retrieves the specified image manifest from Amazon S3 and verifies that the image is owned by the user registering the image. The image manifest is retrieved once and stored within the Amazon EC2. Any modifications to an image in Amazon S3 invalidates this registration. If you make changes to an image, deregister the previous image and register the new image. To deregister an image, use the DeregisterImage operation.
Inheritance Hierarchy
Object
EC2Request
 RegisterImageRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)