NAME
Paws::GameLift::EC2InstanceCounts
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::GameLift::EC2InstanceCounts object:
$service_obj->Method(Att1 => { ACTIVE => $value, ..., TERMINATING => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::GameLift::EC2InstanceCounts object:
$result = $service_obj->Method(...);
$result->Att1->ACTIVE
DESCRIPTION
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.
ATTRIBUTES
ACTIVE => Int
Actual number of instances that are ready to host game sessions.
DESIRED => Int
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.
IDLE => Int
Number of active instances that are not currently hosting a game session.
MAXIMUM => Int
The maximum instance count value allowed.
MINIMUM => Int
The minimum instance count value allowed.
PENDING => Int
Number of instances that are starting but not yet active.
TERMINATING => Int
Number of instances that are no longer active but haven't yet been terminated.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::GameLift
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues