Image Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Represents an Amazon Machine Image (AMI) that can be run on an Amazon EC2 instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.Image

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class Image : Object

The Image type exposes the following members

Constructors

  Name Description
Public Method Image()

Properties

  Name Description
Public Property Architecture The architecture of the image.
Public Property BlockDeviceMappings Specifies how block devices are exposed to the instance.
Public Property Description The description of the AMI that was provided during image creation.
Public Property Hypervisor
Public Property ImageId The unique ID of the AMI.
Public Property ImageLocation The location of the AMI.
Public Property ImageOwnerAlias The AWS account alias (e.g., "amazon", "redhat", "self", etc.) or AWS account ID that owns the AMI.
Public Property ImageType The type of image (machine, kernel, or ramdisk).
Public Property KernelId The kernel associated with the image, if any. Only applicable for machine images.
Public Property Name The name of the AMI that was provided during image creation.
Public Property OwnerId AWS Access Key ID of the image owner.
Public Property Platform The operating platform of the AMI.
Public Property ProductCodes Product codes of the AMI.
Public Property Public True if this image has public launch permissions. False if it only has implicit and explicit launch permissions.
Public Property RamdiskId The RAM disk associated with the image, if any. Only applicable for machine images.
Public Property RootDeviceName The root device name (e.g., /dev/sda1).
Public Property RootDeviceType The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.
Public Property State Current state of the AMI. If the operation returns available, the image is successfully registered and available for launching. If the operation returns deregistered, the image is deregistered and no longer available for launching.

Constraints:Allowed Valuesavailable, deregistered

Public Property StateReason The reason for the state change.
Public Property Tags A list of tags for the Image.
Public Property VirtualizationType

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8