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.
Information about the state of an EC2 instance.
Namespace: Amazon.ElasticLoadBalancing.Model
Assembly: AWSSDK.ElasticLoadBalancing.dll
Version: 3.x.y.z
public class InstanceState
The InstanceState type exposes the following members
Name | Description | |
---|---|---|
![]() |
InstanceState() |
Empty constructor used to set properties independently even when a simple constructor is available |
Name | Type | Description | |
---|---|---|---|
![]() |
Description | System.String |
Gets and sets the property Description. A description of the instance state. This string can contain one or more of the following messages.
|
![]() |
InstanceId | System.String |
Gets and sets the property InstanceId. The ID of the instance. |
![]() |
ReasonCode | System.String |
Gets and sets the property ReasonCode.
Information about the cause of
Valid values: |
![]() |
State | System.String |
Gets and sets the property State. The current state of the instance.
Valid values: |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5