Registers an AMI with Amazon EC2. 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.

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class RegisterImageRequest
Public Class RegisterImageRequest
public ref class RegisterImageRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
RegisterImageRequest()()()()
Initializes a new instance of the RegisterImageRequest class
Architecture
Gets and sets the Architecture property.
BlockDeviceMapping
Gets and sets the BlockDeviceMapping property.
Description
Gets and sets the Description property. The description of the AMI. Must be 3-128 alphanumeric characters, parenthesis (()), commas (,), slashes (/), dashes (-), or underscores(_).
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
Gets and sets the ImageLocation property. 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
Gets and sets the KernelId property. The ID of the kernel to select.
Name
Gets and sets the Name property. The name of the AMI that was provided during image creation.
RamdiskId
Gets and sets the RamdiskId property. The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information on whether you need to specify a RAM disk.
RootDeviceName
Gets and sets the RootDeviceName property. The root device name (e.g., /dev/sda1).
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithArchitecture(String)
Sets the Architecture property
WithBlockDeviceMapping(array<BlockDeviceMapping>[]()[][])
Sets the BlockDeviceMapping property
WithDescription(String)
Sets the Description property
WithImageLocation(String)
Sets the ImageLocation property
WithKernelId(String)
Sets the KernelId property
WithName(String)
Sets the Name property
WithRamdiskId(String)
Sets the RamdiskId property
WithRootDeviceName(String)
Sets the RootDeviceName property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..RegisterImageRequest

See Also