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

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

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

Overview

Note:

When making an API call, you may pass UpdateFleetCapacityInput data as a hash:

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

Represents the input for a request action.

Instance Attribute Summary collapse

Instance Attribute Details

#desired_instancesInteger

Number of EC2 instances you want this fleet to host.

Returns:

  • (Integer)


5977
5978
5979
5980
5981
5982
5983
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5977

class UpdateFleetCapacityInput < Struct.new(
  :fleet_id,
  :desired_instances,
  :min_size,
  :max_size)
  include Aws::Structure
end

#fleet_idString

Unique identifier for a fleet to update capacity for.

Returns:

  • (String)


5977
5978
5979
5980
5981
5982
5983
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5977

class UpdateFleetCapacityInput < Struct.new(
  :fleet_id,
  :desired_instances,
  :min_size,
  :max_size)
  include Aws::Structure
end

#max_sizeInteger

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

Returns:

  • (Integer)


5977
5978
5979
5980
5981
5982
5983
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5977

class UpdateFleetCapacityInput < Struct.new(
  :fleet_id,
  :desired_instances,
  :min_size,
  :max_size)
  include Aws::Structure
end

#min_sizeInteger

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

Returns:

  • (Integer)


5977
5978
5979
5980
5981
5982
5983
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5977

class UpdateFleetCapacityInput < Struct.new(
  :fleet_id,
  :desired_instances,
  :min_size,
  :max_size)
  include Aws::Structure
end