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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class Instance : Object
The Instance type exposes the following members
Name | Description | |
---|---|---|
Instance() |
Name | Type | Description | |
---|---|---|---|
AmiLaunchIndex | System.Int32 |
Gets and sets the property AmiLaunchIndex.
The AMI launch index, which can be used to find this instance in the launch group. |
|
Architecture | Amazon.EC2.ArchitectureValues |
Gets and sets the property Architecture.
The architecture of the image. |
|
BlockDeviceMappings | System.Collections.Generic.List<Amazon.EC2.Model.InstanceBlockDeviceMapping> |
Gets and sets the property BlockDeviceMappings.
Any block device mapping entries for the instance. |
|
ClientToken | System.String |
Gets and sets the property ClientToken.
The idempotency token you provided when you launched the instance. |
|
EbsOptimized | System.Boolean |
Gets and sets the property EbsOptimized.
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. |
|
Hypervisor | Amazon.EC2.HypervisorType |
Gets and sets the property Hypervisor.
The hypervisor type of the instance. |
|
IamInstanceProfile | Amazon.EC2.Model.IamInstanceProfile |
Gets and sets the property IamInstanceProfile.
The IAM instance profile associated with the instance. |
|
ImageId | System.String |
Gets and sets the property ImageId.
The ID of the AMI used to launch the instance. |
|
InstanceId | System.String |
Gets and sets the property InstanceId.
The ID of the instance. |
|
InstanceLifecycle | Amazon.EC2.InstanceLifecycleType |
Gets and sets the property InstanceLifecycle.
Indicates whether this is a Spot Instance. |
|
InstanceType | Amazon.EC2.InstanceType |
Gets and sets the property InstanceType.
The instance type. |
|
KernelId | System.String |
Gets and sets the property KernelId.
The kernel associated with this instance. |
|
KeyName | System.String |
Gets and sets the property KeyName.
The name of the key pair, if this instance was launched with an associated key pair. |
|
LaunchTime | System.DateTime |
Gets and sets the property LaunchTime.
The time the instance was launched. |
|
Monitoring | Amazon.EC2.Model.Monitoring |
Gets and sets the property Monitoring.
The monitoring information for the instance. |
|
NetworkInterfaces | System.Collections.Generic.List<Amazon.EC2.Model.InstanceNetworkInterface> |
Gets and sets the property NetworkInterfaces.
[EC2-VPC] One or more network interfaces for the instance. |
|
Placement | Amazon.EC2.Model.Placement |
Gets and sets the property Placement.
The location where the instance launched. |
|
Platform | Amazon.EC2.PlatformValues |
Gets and sets the property Platform.
The value is |
|
PrivateDnsName | System.String |
Gets and sets the property PrivateDnsName.
The private DNS name assigned to the instance. This DNS name can only be used inside
the Amazon EC2 network. This name is not available until the instance enters the |
|
PrivateIpAddress | System.String |
Gets and sets the property PrivateIpAddress.
The private IP address assigned to the instance. |
|
ProductCodes | System.Collections.Generic.List<Amazon.EC2.Model.ProductCode> |
Gets and sets the property ProductCodes.
The product codes attached to this instance. |
|
PublicDnsName | System.String |
Gets and sets the property PublicDnsName.
The public DNS name assigned to the instance. This name is not available until the
instance enters the |
|
PublicIpAddress | System.String |
Gets and sets the property PublicIpAddress.
The public IP address assigned to the instance. |
|
RamdiskId | System.String |
Gets and sets the property RamdiskId.
The RAM disk associated with this instance. |
|
RootDeviceName | System.String |
Gets and sets the property RootDeviceName.
The root device name (for example, |
|
RootDeviceType | Amazon.EC2.DeviceType |
Gets and sets the property RootDeviceType.
The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume. |
|
SecurityGroups | System.Collections.Generic.List<Amazon.EC2.Model.GroupIdentifier> |
Gets and sets the property SecurityGroups.
One or more security groups for the instance. |
|
SourceDestCheck | System.Boolean |
Gets and sets the property SourceDestCheck.
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls
whether source/destination checking is enabled on the instance. A value of |
|
SpotInstanceRequestId | System.String |
Gets and sets the property SpotInstanceRequestId.
The ID of the Spot Instance request. |
|
SriovNetSupport | System.String |
Gets and sets the property SriovNetSupport.
Specifies whether enhanced networking is enabled. |
|
State | Amazon.EC2.Model.InstanceState |
Gets and sets the property State.
The current state of the instance. |
|
StateReason | Amazon.EC2.Model.StateReason |
Gets and sets the property StateReason.
The reason for the most recent state transition. |
|
StateTransitionReason | System.String |
Gets and sets the property StateTransitionReason.
The reason for the most recent state transition. This might be an empty string. |
|
SubnetId | System.String |
Gets and sets the property SubnetId.
The ID of the subnet in which the instance is running. |
|
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags.
Any tags assigned to the instance. |
|
VirtualizationType | Amazon.EC2.VirtualizationType |
Gets and sets the property VirtualizationType.
The virtualization type of the instance. |
|
VpcId | System.String |
Gets and sets the property VpcId.
The ID of the VPC in which the instance is running. |
.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