Class: Aws::GameLift::Types::EC2InstanceCounts
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::EC2InstanceCounts
- Defined in:
- gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#active ⇒ Integer
Actual number of instances that are ready to host game sessions.
-
#desired ⇒ Integer
Ideal number of active instances.
-
#idle ⇒ Integer
Number of active instances that are not currently hosting a game session.
-
#maximum ⇒ Integer
The maximum instance count value allowed.
-
#minimum ⇒ Integer
The minimum instance count value allowed.
-
#pending ⇒ Integer
Number of instances that are starting but not yet active.
-
#terminating ⇒ Integer
Number of instances that are no longer active but haven't yet been terminated.
Instance Attribute Details
#active ⇒ Integer
Actual number of instances that are ready to host game sessions.
3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3544 class EC2InstanceCounts < Struct.new( :desired, :minimum, :maximum, :pending, :active, :idle, :terminating) SENSITIVE = [] include Aws::Structure end |
#desired ⇒ Integer
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.
3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3544 class EC2InstanceCounts < Struct.new( :desired, :minimum, :maximum, :pending, :active, :idle, :terminating) SENSITIVE = [] include Aws::Structure end |
#idle ⇒ Integer
Number of active instances that are not currently hosting a game session.
3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3544 class EC2InstanceCounts < Struct.new( :desired, :minimum, :maximum, :pending, :active, :idle, :terminating) SENSITIVE = [] include Aws::Structure end |
#maximum ⇒ Integer
The maximum instance count value allowed.
3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3544 class EC2InstanceCounts < Struct.new( :desired, :minimum, :maximum, :pending, :active, :idle, :terminating) SENSITIVE = [] include Aws::Structure end |
#minimum ⇒ Integer
The minimum instance count value allowed.
3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3544 class EC2InstanceCounts < Struct.new( :desired, :minimum, :maximum, :pending, :active, :idle, :terminating) SENSITIVE = [] include Aws::Structure end |
#pending ⇒ Integer
Number of instances that are starting but not yet active.
3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3544 class EC2InstanceCounts < Struct.new( :desired, :minimum, :maximum, :pending, :active, :idle, :terminating) SENSITIVE = [] include Aws::Structure end |
#terminating ⇒ Integer
Number of instances that are no longer active but haven't yet been terminated.
3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 3544 class EC2InstanceCounts < Struct.new( :desired, :minimum, :maximum, :pending, :active, :idle, :terminating) SENSITIVE = [] include Aws::Structure end |