AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.EC2InstanceCounts

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class EC2InstanceCounts

The EC2InstanceCounts type exposes the following members

Constructors

NameDescription
Public Method EC2InstanceCounts()

Properties

NameTypeDescription
Public Property ACTIVE System.Int32

Gets and sets the property ACTIVE.

Actual number of instances that are ready to host game sessions.

Public Property 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.

Public Property IDLE System.Int32

Gets and sets the property IDLE.

Number of active instances that are not currently hosting a game session.

Public Property MAXIMUM System.Int32

Gets and sets the property MAXIMUM.

The maximum instance count value allowed.

Public Property MINIMUM System.Int32

Gets and sets the property MINIMUM.

The minimum instance count value allowed.

Public Property PENDING System.Int32

Gets and sets the property PENDING.

Number of instances that are starting but not yet active.

Public Property TERMINATING System.Int32

Gets and sets the property TERMINATING.

Number of instances that are no longer active but haven't yet been terminated.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5