InstanceState Class

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

Represents the state of an Amazon EC2 instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.InstanceState

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

Syntax

C#
public class InstanceState : Object

The InstanceState type exposes the following members

Constructors

  Name Description
Public Method InstanceState()

Properties

  Name Description
Public Property Code A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.
Public Property Name The current state of the instance.

Constraints:Allowed Valuespending, running, shutting-down, terminated, stopping, stopped

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