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.
Resource capacity settings. Fleet capacity is measured in Amazon EC2 instances. Pending and terminating counts are non-zero when the fleet capacity is adjusting to a scaling event or if access to resources is temporarily affected.
Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z
public class EC2InstanceCounts
The EC2InstanceCounts type exposes the following members
Name | Description | |
---|---|---|
![]() |
EC2InstanceCounts() |
Name | Type | Description | |
---|---|---|---|
![]() |
ACTIVE | System.Int32 |
Gets and sets the property ACTIVE. Actual number of instances that are ready to host game sessions. |
![]() |
DESIRED | System.Int32 |
Gets and sets the property DESIRED. Requested number of active instances. Amazon GameLift takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings. |
![]() |
IDLE | System.Int32 |
Gets and sets the property IDLE. Number of active instances that are not currently hosting a game session. |
![]() |
MAXIMUM | System.Int32 |
Gets and sets the property MAXIMUM. The maximum instance count value allowed. |
![]() |
MINIMUM | System.Int32 |
Gets and sets the property MINIMUM. The minimum instance count value allowed. |
![]() |
PENDING | System.Int32 |
Gets and sets the property PENDING. Number of instances that are starting but not yet active. |
![]() |
TERMINATING | System.Int32 |
Gets and sets the property TERMINATING. Number of instances that are no longer active but haven't yet been terminated. |
.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