AWS SDK for .NET Documentation
RunningInstance Class
AmazonAmazon.EC2.ModelRunningInstance Did this page help you?   Yes   No    Tell us about it...
Launched EC2 Instance
Declaration Syntax
C#
public class RunningInstance
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RunningInstance()()()()
Initializes a new instance of the RunningInstance class

AmiLaunchIndex
The AMI launch index, which can be used to find this instance within the launch group.

Architecture
The architecture of the image.

BlockDeviceMapping
Block device mapping configuration.

ClientToken
The idempotency token provided when you launched the instance.

EbsOptimized
Whether to use the EBS IOPS optimized option.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
GroupId
A list of VPC security group names the instance is in.

GroupName
A list of VPC security group IDs the instance is in.

ImageId
Image ID of the AMI used to launch the instance.

InstanceId
Unique ID of the instance.

InstanceLifecycle
Whether this is a Spot Instance. Valid values: spot | blank (no value)

InstanceProfile
The IAM Instance Profile (IIP) associated with the instance.

InstanceState
The current state of the instance.

InstanceType
The instance type.

IpAddress
The IP address of the instance.

IsSetAmiLaunchIndex()()()()
Checks if AmiLaunchIndex property is set

IsSetArchitecture()()()()
Checks if Architecture property is set

IsSetBlockDeviceMapping()()()()
Checks if BlockDeviceMapping property is set

IsSetClientToken()()()()
Checks if ClientToken property is set

IsSetEbsOptimized()()()()
Checks if EbsOptimized property is set

IsSetGroupId()()()()
Checks if GroupId property is set

IsSetGroupName()()()()
Checks if GroupName property is set

IsSetHypervisor()()()()
Checks if the Hypervisor property is set.

IsSetImageId()()()()
Checks if ImageId property is set

IsSetInstanceId()()()()
Checks if InstanceId property is set

IsSetInstanceLifecycle()()()()
Checks if InstanceLifecycle property is set

IsSetInstanceProfile()()()()
Checks if the InstanceProfile property is set

IsSetInstanceState()()()()
Checks if InstanceState property is set

IsSetInstanceType()()()()
Checks if InstanceType property is set

IsSetIpAddress()()()()
Checks if IpAddress property is set

IsSetKernelId()()()()
Checks if KernelId property is set

IsSetKeyName()()()()
Checks if KeyName property is set

IsSetLaunchTime()()()()
Checks if LaunchTime property is set

IsSetLicense()()()()
Checks if License property is set

IsSetMonitoring()()()()
Checks if Monitoring property is set

IsSetNetworkInterfaceSet()()()()
Checks if the NetworkInterfaceSet property is set

IsSetPlacement()()()()
Checks if Placement property is set

IsSetPlatform()()()()
Checks if Platform property is set

IsSetPrivateDnsName()()()()
Checks if PrivateDnsName property is set

IsSetPrivateIpAddress()()()()
Checks if PrivateIpAddress property is set

IsSetProductCode()()()() Obsolete.
Checks if ProductCode property is set

IsSetProductCodes()()()()
Checks if ProductCodes property is set

IsSetPublicDnsName()()()()
Checks if PublicDnsName property is set

IsSetRamdiskId()()()()
Checks if RamdiskId property is set

IsSetRootDeviceName()()()()
Checks if RootDeviceName property is set

IsSetRootDeviceType()()()()
Checks if RootDeviceType property is set

IsSetSourceDestCheck()()()()
Checks if SourceDestCheck property is set

IsSetSpotInstanceRequestId()()()()
Checks if SpotInstanceRequestId property is set

IsSetStateReason()()()()
Checks if StateReason property is set

IsSetStateTransitionReason()()()()
Checks if StateTransitionReason property is set

IsSetSubnetId()()()()
Checks if SubnetId property is set

IsSetTag()()()()
Checks if Tag property is set

IsSetVirtualizationType()()()()
Checks if VirtualizationType property is set

IsSetVpcId()()()()
Checks if VpcId property is set

KernelId
Kernel associated with this instance.

KeyName
Name of a key pair associated with this instance.

LaunchTime
The time the instance launched.

License
The active license that is in use and attached to the Amazon EC2 instance.

Monitoring
Monitoring configuration for the instance.

NetworkInterfaceSet
The network interfaces for the instance.

Placement
The location where the 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
The private IP address that is assigned to the instance (Amazon VPC).

ProductCode Obsolete.
Product codes attached to this instance.

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

RamdiskId
RAM disk associated with this instance.

RootDeviceName
The root device name (e.g., /dev/sda1).

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

SourceDestCheck
Whether source/destination checking is enabled on the instance.

SpotInstanceRequestId
The ID of the Spot Instance request that started this instance.

StateReason
The reason for the state change.

StateTransitionReason
Reason for the most recent state transition. This might be an empty string.

SubnetId
The subnet ID in which the instance is running (Amazon Virtual Private Cloud).

Tag
A list of tags for the RunningInstance.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VirtualizationType
Whether the Amazon EC2 instance is a hardware virtual machine (HVM) or a para-virtual machine (PVM).

VpcId
The VPC in which the instance is running (Amazon Virtual Private Cloud).

WithAmiLaunchIndex(String) Obsolete.
Sets the AMI launch index, which can be used to find this instance within the launch group.

WithArchitecture(String) Obsolete.
Sets the architecture of the image.

WithBlockDeviceMapping(array<InstanceBlockDeviceMapping>[]()[][]) Obsolete.
Sets the block device mapping configuration.

WithClientToken(String) Obsolete.
Sets the idempotency token provided when you launched the instance.

WithEbsOptimized(Boolean) Obsolete.
Sets whether to use the EBS IOPS optimized option.

WithGroupId(array<String>[]()[][]) Obsolete.
Sets the VPC security group names the instance is in.

WithGroupName(array<String>[]()[][]) Obsolete.
Sets the VPC security group IDs the instance is in.

WithHypervisor(String) Obsolete.
Sets the instance's hypervisor type.

WithImageId(String) Obsolete.
Sets the image ID of the AMI used to launch the instance.

WithInstanceId(String) Obsolete.
Sets the unique ID of the instance.

WithInstanceLifecycle(String) Obsolete.
Sets whether this is a Spot Instance. Valid values: spot | blank (no value)

WithInstanceProfile(IAMInstanceProfile) Obsolete.
Sets the IAM Instance Profile (IIP) associated with the instance.

WithInstanceState(InstanceState) Obsolete.
Sets the current state of the instance.

WithInstanceType(String) Obsolete.
Sets the instance type.

WithIpAddress(String) Obsolete.
Sets the IP address of the instance.

WithKernelId(String) Obsolete.
Sets the kernel associated with this instance.

WithKeyName(String) Obsolete.
Sets the name of a key pair associated with this instance.

WithLaunchTime(String) Obsolete.
Sets the time the instance launched.

WithLicense(InstanceLicense) Obsolete.
Sets the active license that is in use and attached to the Amazon EC2 instance.

WithMonitoring(Monitoring) Obsolete.
Sets the monitoring configuration for the instance.

WithNetworkInterfaceSet(array<InstanceNetworkInterface>[]()[][]) Obsolete.
Sets the network interfaces for the instance.

WithPlacement(Placement) Obsolete.
Sets the location where the instance launched.

WithPlatform(String) Obsolete.
Sets the platform of the instance (e.g., Windows).

WithPrivateDnsName(String) Obsolete.
Sets the private DNS name assigned to the instance.

WithPrivateIpAddress(String) Obsolete.
Sets the private IP address that is assigned to the instance (Amazon VPC).

WithProductCode(array<String>[]()[][]) Obsolete.
Sets the product codes attached to this instance.

WithProductCodes(array<ProductCode>[]()[][]) Obsolete.
Sets the product codes attached to this instance.

WithPublicDnsName(String) Obsolete.
Sets the public DNS name assigned to the instance.

WithRamdiskId(String) Obsolete.
Sets the RAM disk associated with this instance.

WithRootDeviceName(String) Obsolete.
Sets the root device name (e.g., /dev/sda1).

WithRootDeviceType(String) Obsolete.
Sets the root device type used by the AMI.

WithSourceDestCheck(Boolean) Obsolete.
Sets whether source/destination checking is enabled on the instance.

WithSpotInstanceRequestId(String) Obsolete.
Sets the ID of the Spot Instance request that started this instance.

WithStateReason(StateReason) Obsolete.
Sets the reason for the state change.

WithStateTransitionReason(String) Obsolete.
Sets the reason for the most recent state transition.

WithSubnetId(String) Obsolete.
Sets the subnet ID in which the instance is running (Amazon Virtual Private Cloud).

WithTag(array<Tag>[]()[][]) Obsolete.
Sets the tags for the RunningInstance.

WithVirtualizationType(String) Obsolete.
Sets whether the Amazon EC2 instance is a hardware virtual machine (HVM) or a para-virtual machine (PVM).

WithVpcId(String) Obsolete.
Sets the VPC in which the instance is running (Amazon Virtual Private Cloud).

Inheritance Hierarchy
Object
RunningInstance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)