Instance Class

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

Represents an Amazon EC2 instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.Instance

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

Syntax

C#
public class Instance : Object

The Instance type exposes the following members

Constructors

  Name Description
Public Method Instance()

Properties

  Name Description
Public Property AmiLaunchIndex The AMI launch index, which can be used to find this instance within the launch group.
Public Property Architecture The architecture of this instance.
Public Property BlockDeviceMappings Block device mapping set.
Public Property ClientToken
Public Property EbsOptimized
Public Property Hypervisor
Public Property IamInstanceProfile
Public Property ImageId Image ID of the AMI used to launch the instance.
Public Property InstanceId Unique ID of the instance launched.
Public Property InstanceLifecycle
Public Property InstanceType The instance type. For more information on instance types, please see the Amazon Elastic Compute Cloud Developer Guide.

Constraints:Allowed Valuest1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge

Public Property KernelId Kernel associated with this instance.
Public Property KeyName If this instance was launched with an associated key pair, this displays the key pair name.
Public Property LaunchTime The time this instance launched.
Public Property License Represents an active license in use and attached to an Amazon EC2 instance.
Public Property Monitoring Monitoring status for this instance.
Public Property NetworkInterfaces
Public Property Placement The location where this instance launched.
Public Property Platform Platform of the instance (e.g., Windows).
Public Property 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.
Public Property PrivateIpAddress Specifies the private IP address that is assigned to the instance (Amazon VPC).
Public Property ProductCodes Product codes attached to this instance.
Public Property 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.
Public Property PublicIpAddress Specifies the IP address of the instance.
Public Property RamdiskId RAM disk associated with this instance.
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 SecurityGroups
Public Property SourceDestCheck
Public Property SpotInstanceRequestId
Public Property State The current state of the instance.
Public Property StateReason The reason for the state change.
Public Property StateTransitionReason Reason for the most recent state transition. This might be an empty string.
Public Property SubnetId Specifies the Amazon VPC subnet ID in which the instance is running.
Public Property Tags A list of tags for the Instance.
Public Property VirtualizationType
Public Property 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