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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

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:

  • CreateFleet

  • ListFleets

  • Describe fleets:

    • DescribeFleetAttributes

    • DescribeFleetPortSettings

    • DescribeFleetUtilization

    • DescribeRuntimeConfiguration

    • DescribeFleetEvents

  • Update fleets:

    • UpdateFleetAttributes

    • UpdateFleetCapacity

    • UpdateFleetPortSettings

    • UpdateRuntimeConfiguration

  • Manage fleet capacity:

    • DescribeFleetCapacity

    • UpdateFleetCapacity

    • PutScalingPolicy (automatic scaling)

    • DescribeScalingPolicies (automatic scaling)

    • DeleteScalingPolicy (automatic scaling)

    • DescribeEC2InstanceLimits

  • DeleteFleet

Instance Attribute Summary collapse

Instance Attribute Details

#activeInteger

Actual number of active instances in the fleet.

Returns:

  • (Integer)


2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2392

class EC2InstanceCounts < Struct.new(
  :desired,
  :minimum,
  :maximum,
  :pending,
  :active,
  :idle,
  :terminating)
  include Aws::Structure
end

#desiredInteger

Ideal number of active instances in the fleet.

Returns:

  • (Integer)


2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2392

class EC2InstanceCounts < Struct.new(
  :desired,
  :minimum,
  :maximum,
  :pending,
  :active,
  :idle,
  :terminating)
  include Aws::Structure
end

#idleInteger

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

Returns:

  • (Integer)


2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2392

class EC2InstanceCounts < Struct.new(
  :desired,
  :minimum,
  :maximum,
  :pending,
  :active,
  :idle,
  :terminating)
  include Aws::Structure
end

#maximumInteger

Maximum value allowed for the fleet's instance count.

Returns:

  • (Integer)


2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2392

class EC2InstanceCounts < Struct.new(
  :desired,
  :minimum,
  :maximum,
  :pending,
  :active,
  :idle,
  :terminating)
  include Aws::Structure
end

#minimumInteger

Minimum value allowed for the fleet's instance count.

Returns:

  • (Integer)


2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2392

class EC2InstanceCounts < Struct.new(
  :desired,
  :minimum,
  :maximum,
  :pending,
  :active,
  :idle,
  :terminating)
  include Aws::Structure
end

#pendingInteger

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

Returns:

  • (Integer)


2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2392

class EC2InstanceCounts < Struct.new(
  :desired,
  :minimum,
  :maximum,
  :pending,
  :active,
  :idle,
  :terminating)
  include Aws::Structure
end

#terminatingInteger

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

Returns:

  • (Integer)


2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 2392

class EC2InstanceCounts < Struct.new(
  :desired,
  :minimum,
  :maximum,
  :pending,
  :active,
  :idle,
  :terminating)
  include Aws::Structure
end