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 3.5
 
Describes an image.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.Image

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

Syntax

C#
public class Image : Object

The Image type exposes the following members

Constructors

NameDescription
Public Method Image()

Properties

NameTypeDescription
Public Property Architecture Amazon.EC2.ArchitectureValues Gets and sets the property Architecture.

The architecture of the image.

Public Property BlockDeviceMappings System.Collections.Generic.List<Amazon.EC2.Model.BlockDeviceMapping> Gets and sets the property BlockDeviceMappings.

Any block device mapping entries.

Public Property CreationDate System.String Gets and sets the property CreationDate.

The date and time the image was created.

Public Property Description System.String Gets and sets the property Description.

The description of the AMI that was provided during image creation.

Public Property Hypervisor Amazon.EC2.HypervisorType Gets and sets the property Hypervisor.

The hypervisor type of the image.

Public Property ImageId System.String Gets and sets the property ImageId.

The ID of the AMI.

Public Property ImageLocation System.String Gets and sets the property ImageLocation.

The location of the AMI.

Public Property ImageOwnerAlias System.String Gets and sets the property ImageOwnerAlias.

The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.

Public Property ImageType Amazon.EC2.ImageTypeValues Gets and sets the property ImageType.

The type of image.

Public Property KernelId System.String Gets and sets the property KernelId.

The kernel associated with the image, if any. Only applicable for machine images.

Public Property Name System.String Gets and sets the property Name.

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

Public Property OwnerId System.String Gets and sets the property OwnerId.

The AWS account ID of the image owner.

Public Property Platform Amazon.EC2.PlatformValues Gets and sets the property Platform.

The value is Windows for Windows AMIs; otherwise blank.

Public Property ProductCodes System.Collections.Generic.List<Amazon.EC2.Model.ProductCode> Gets and sets the property ProductCodes.

Any product codes associated with the AMI.

Public Property Public System.Boolean Gets and sets the property Public.

Indicates whether the image has public launch permissions. The value is true if this image has public launch permissions or false if it has only implicit and explicit launch permissions.

Public Property RamdiskId System.String Gets and sets the property RamdiskId.

The RAM disk associated with the image, if any. Only applicable for machine images.

Public Property RootDeviceName System.String Gets and sets the property RootDeviceName.

The device name of the root device (for example, /dev/sda1 or /dev/xvda).

Public Property RootDeviceType Amazon.EC2.DeviceType Gets and sets the property RootDeviceType.

The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.

Public Property SriovNetSupport System.String Gets and sets the property SriovNetSupport.

Specifies whether enhanced networking is enabled.

Public Property State Amazon.EC2.ImageState Gets and sets the property State.

The current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.

Public Property StateReason Amazon.EC2.Model.StateReason Gets and sets the property StateReason.

The reason for the state change.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag> Gets and sets the property Tags.

Any tags assigned to the image.

Public Property VirtualizationType Amazon.EC2.VirtualizationType Gets and sets the property VirtualizationType.

The type of virtualization of the AMI.

Version Information

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

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

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8