AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::GameLift::Types::UpdateFleetCapacityInput

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

Overview

Note:

When passing UpdateFleetCapacityInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  fleet_id: "FleetIdOrArn", # required
  desired_instances: 1,
  min_size: 1,
  max_size: 1,
}

Represents the input for a request operation.

Instance Attribute Summary collapse

Instance Attribute Details

#desired_instancesInteger

Number of EC2 instances you want this fleet to host.

Returns:

  • (Integer)

    Number of EC2 instances you want this fleet to host.

#fleet_idString

A unique identifier for a fleet to update capacity for. You can use either the fleet ID or ARN value.

Returns:

  • (String)

    A unique identifier for a fleet to update capacity for.

#max_sizeInteger

The maximum value allowed for the fleet\'s instance count. Default if not set is 1.

Returns:

  • (Integer)

    The maximum value allowed for the fleet\'s instance count.

#min_sizeInteger

The minimum value allowed for the fleet\'s instance count. Default if not set is 0.

Returns:

  • (Integer)

    The minimum value allowed for the fleet\'s instance count.