Class: Aws::GameLift::Types::InstanceDefinition

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

Overview

This data type is used with the Amazon GameLift FleetIQ and game server groups.

An allowed instance type for a game server group. All game server groups must have at least two instance types defined for it. Amazon GameLift FleetIQ periodically evaluates each defined instance type for viability. It then updates the Auto Scaling group with the list of viable instance types.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_typeString

An Amazon EC2 instance type designation.

Returns:

  • (String)


5691
5692
5693
5694
5695
5696
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5691

class InstanceDefinition < Struct.new(
  :instance_type,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#weighted_capacityString

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by Amazon GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon Elastic Compute Cloud Auto Scaling User Guide. Default value is "1".

Returns:

  • (String)


5691
5692
5693
5694
5695
5696
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5691

class InstanceDefinition < Struct.new(
  :instance_type,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end