Represents an Amazon EC2 instance.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class Instance : Object
The Instance type exposes the following members
Constructors
| Name | Description | |
|---|---|---|
|
Instance() |
Properties
| Name | Description | |
|---|---|---|
|
AmiLaunchIndex | The AMI launch index, which can be used to find this instance within the launch group. |
|
Architecture | The architecture of this instance. |
|
BlockDeviceMappings | Block device mapping set. |
|
ClientToken | |
|
EbsOptimized | |
|
Hypervisor | |
|
IamInstanceProfile | |
|
ImageId | Image ID of the AMI used to launch the instance. |
|
InstanceId | Unique ID of the instance launched. |
|
InstanceLifecycle | |
|
InstanceType |
The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.
Constraints: |
|
KernelId | Kernel associated with this instance. |
|
KeyName | If this instance was launched with an associated key pair, this displays the key pair name. |
|
LaunchTime | The time this instance launched. |
|
License | Represents an active license in use and attached to an Amazon EC2 instance. |
|
Monitoring | Monitoring status for this instance. |
|
NetworkInterfaces | |
|
Placement | The location where this instance launched. |
|
Platform | Platform of the instance (e.g., Windows). |
|
PrivateDnsName | The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state. |
|
PrivateIpAddress | Specifies the private IP address that is assigned to the instance (Amazon VPC). |
|
ProductCodes | Product codes attached to this instance. |
|
PublicDnsName | The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state. |
|
PublicIpAddress | Specifies the IP address of the instance. |
|
RamdiskId | RAM disk associated with this instance. |
|
RootDeviceName |
The root device name (e.g., |
|
RootDeviceType | The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device. |
|
SecurityGroups | |
|
SourceDestCheck | |
|
SpotInstanceRequestId | |
|
State | The current state of the instance. |
|
StateReason | The reason for the state change. |
|
StateTransitionReason | Reason for the most recent state transition. This might be an empty string. |
|
SubnetId | Specifies the Amazon VPC subnet ID in which the instance is running. |
|
Tags | A list of tags for the Instance. |
|
VirtualizationType | |
|
VpcId | Specifies the Amazon VPC in which the instance is running. |
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