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

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

Overview

Resource capacity settings. Fleet capacity is measured in 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.

EC2 instance counts are part of FleetCapacity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#activeInteger

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

Returns:

  • (Integer)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4124

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

#desiredInteger

Ideal number of active instances. GameLift will always try to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances.

Returns:

  • (Integer)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4124

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

#idleInteger

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

Returns:

  • (Integer)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4124

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

#maximumInteger

The maximum instance count value allowed.

Returns:

  • (Integer)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4124

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

#minimumInteger

The minimum instance count value allowed.

Returns:

  • (Integer)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4124

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

#pendingInteger

Number of instances that are starting but not yet active.

Returns:

  • (Integer)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4124

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

#terminatingInteger

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

Returns:

  • (Integer)


4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4124

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