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.
Describes an image.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class Image
The Image type exposes the following members
Name | Description | |
---|---|---|
Image() |
Name | Type | Description | |
---|---|---|---|
Architecture | Amazon.EC2.ArchitectureValues |
Gets and sets the property Architecture. The architecture of the image. |
|
BlockDeviceMappings | System.Collections.Generic.List<Amazon.EC2.Model.BlockDeviceMapping> |
Gets and sets the property BlockDeviceMappings. Any block device mapping entries. |
|
BootMode | Amazon.EC2.BootModeValues |
Gets and sets the property BootMode. The boot mode of the image. For more information, see Boot modes in the Amazon EC2 User Guide. |
|
CreationDate | System.String |
Gets and sets the property CreationDate. The date and time the image was created. |
|
DeprecationTime | System.String |
Gets and sets the property DeprecationTime. The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. |
|
Description | System.String |
Gets and sets the property Description. The description of the AMI that was provided during image creation. |
|
EnaSupport | System.Boolean |
Gets and sets the property EnaSupport. Specifies whether enhanced networking with ENA is enabled. |
|
Hypervisor | Amazon.EC2.HypervisorType |
Gets and sets the property Hypervisor.
The hypervisor type of the image. Only |
|
ImageId | System.String |
Gets and sets the property ImageId. The ID of the AMI. |
|
ImageLocation | System.String |
Gets and sets the property ImageLocation. The location of the AMI. |
|
ImageOwnerAlias | System.String |
Gets and sets the property ImageOwnerAlias.
The owner alias ( |
|
ImageType | Amazon.EC2.ImageTypeValues |
Gets and sets the property ImageType. The type of image. |
|
ImdsSupport | Amazon.EC2.ImdsSupportValues |
Gets and sets the property ImdsSupport.
If |
|
KernelId | System.String |
Gets and sets the property KernelId. The kernel associated with the image, if any. Only applicable for machine images. |
|
Name | System.String |
Gets and sets the property Name. The name of the AMI that was provided during image creation. |
|
OwnerId | System.String |
Gets and sets the property OwnerId. The ID of the Amazon Web Services account that owns the image. |
|
Platform | Amazon.EC2.PlatformValues |
Gets and sets the property Platform.
This value is set to |
|
PlatformDetails | System.String |
Gets and sets the property PlatformDetails. The platform details associated with the billing code of the AMI. For more information, see Understand AMI billing information in the Amazon EC2 User Guide. |
|
ProductCodes | System.Collections.Generic.List<Amazon.EC2.Model.ProductCode> |
Gets and sets the property ProductCodes. Any product codes associated with the AMI. |
|
Public | System.Boolean |
Gets and sets the property Public.
Indicates whether the image has public launch permissions. The value is |
|
RamdiskId | System.String |
Gets and sets the property RamdiskId. The RAM disk associated with the image, if any. Only applicable for machine images. |
|
RootDeviceName | System.String |
Gets and sets the property RootDeviceName.
The device name of the root device volume (for example, |
|
RootDeviceType | Amazon.EC2.DeviceType |
Gets and sets the property RootDeviceType. The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume. |
|
SourceInstanceId | System.String |
Gets and sets the property SourceInstanceId. The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This field only appears if the AMI was created using CreateImage. |
|
SriovNetSupport | System.String |
Gets and sets the property SriovNetSupport. Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. |
|
State | Amazon.EC2.ImageState |
Gets and sets the property State.
The current state of the AMI. If the state is |
|
StateReason | Amazon.EC2.Model.StateReason |
Gets and sets the property StateReason. The reason for the state change. |
|
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags. Any tags assigned to the image. |
|
TpmSupport | Amazon.EC2.TpmSupportValues |
Gets and sets the property TpmSupport.
If the image is configured for NitroTPM support, the value is |
|
UsageOperation | System.String |
Gets and sets the property UsageOperation.
The operation of the Amazon EC2 instance and the billing code that is associated with
the AMI. |
|
VirtualizationType | Amazon.EC2.VirtualizationType |
Gets and sets the property VirtualizationType. The type of virtualization of the AMI. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5