You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GameLift::Types::EC2InstanceCounts

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Current status of fleet capacity. The number of active instances should match or be in the process of matching the number of desired instances. Pending and terminating counts are non-zero only if fleet capacity is adjusting to an UpdateFleetCapacity request, or if access to resources is temporarily affected.

Fleet-related operations include:

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#activeInteger

Actual number of active instances in the fleet.

Returns:

  • (Integer)

    Actual number of active instances in the fleet.

#desiredInteger

Ideal number of active instances in the fleet.

Returns:

  • (Integer)

    Ideal number of active instances in the fleet.

#idleInteger

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

Returns:

  • (Integer)

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

#maximumInteger

Maximum value allowed for the fleet\'s instance count.

Returns:

  • (Integer)

    Maximum value allowed for the fleet\'s instance count.

#minimumInteger

Minimum value allowed for the fleet\'s instance count.

Returns:

  • (Integer)

    Minimum value allowed for the fleet\'s instance count.

#pendingInteger

Number of instances in the fleet that are starting but not yet active.

Returns:

  • (Integer)

    Number of instances in the fleet that are starting but not yet active.

#terminatingInteger

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

Returns:

  • (Integer)

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