Skip to content

/AWS1/CL_GMLEC2INSTANCECOUNTS

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_desired TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

Requested number of active instances. Amazon GameLift Servers 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.

iv_minimum TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

The minimum instance count value allowed.

iv_maximum TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

The maximum instance count value allowed.

iv_pending TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

Number of instances that are starting but not yet active.

iv_active TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

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

iv_idle TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

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

iv_terminating TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

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


Queryable Attributes

DESIRED

Requested number of active instances. Amazon GameLift Servers 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.

Accessible with the following methods

Method Description
GET_DESIRED() Getter for DESIRED, with configurable default
ASK_DESIRED() Getter for DESIRED w/ exceptions if field has no value
HAS_DESIRED() Determine if DESIRED has a value

MINIMUM

The minimum instance count value allowed.

Accessible with the following methods

Method Description
GET_MINIMUM() Getter for MINIMUM, with configurable default
ASK_MINIMUM() Getter for MINIMUM w/ exceptions if field has no value
HAS_MINIMUM() Determine if MINIMUM has a value

MAXIMUM

The maximum instance count value allowed.

Accessible with the following methods

Method Description
GET_MAXIMUM() Getter for MAXIMUM, with configurable default
ASK_MAXIMUM() Getter for MAXIMUM w/ exceptions if field has no value
HAS_MAXIMUM() Determine if MAXIMUM has a value

PENDING

Number of instances that are starting but not yet active.

Accessible with the following methods

Method Description
GET_PENDING() Getter for PENDING, with configurable default
ASK_PENDING() Getter for PENDING w/ exceptions if field has no value
HAS_PENDING() Determine if PENDING has a value

ACTIVE

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

Accessible with the following methods

Method Description
GET_ACTIVE() Getter for ACTIVE, with configurable default
ASK_ACTIVE() Getter for ACTIVE w/ exceptions if field has no value
HAS_ACTIVE() Determine if ACTIVE has a value

IDLE

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

Accessible with the following methods

Method Description
GET_IDLE() Getter for IDLE, with configurable default
ASK_IDLE() Getter for IDLE w/ exceptions if field has no value
HAS_IDLE() Determine if IDLE has a value

TERMINATING

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

Accessible with the following methods

Method Description
GET_TERMINATING() Getter for TERMINATING, with configurable default
ASK_TERMINATING() Getter for TERMINATING w/ exceptions if field has no value
HAS_TERMINATING() Determine if TERMINATING has a value