Class: Aws::GameLift::Types::PriorityConfiguration

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

Overview

Custom prioritization settings for a game session queue to use when searching for available game servers to place new game sessions. This configuration replaces the default FleetIQ prioritization process.

By default, a queue makes placements based on the following default prioritizations:

  • If player latency data is included in a game session request, Amazon GameLift prioritizes placing game sessions where the average player latency is lowest. Amazon GameLift re-orders the queue’s destinations and locations (for multi-location fleets) based on the following priorities: (1) the lowest average latency across all players, (2) the lowest hosting cost, (3) the queue’s default destination order, and then (4), an alphabetic list of locations.

  • If player latency data is not included, Amazon GameLift prioritizes placing game sessions in the queue’s first destination. If that fleet has multiple locations, the game session is placed on the first location (when listed alphabetically). Amazon GameLift re-orders the queue’s destinations and locations (for multi-location fleets) based on the following priorities: (1) the queue’s default destination order, and then (2) an alphabetic list of locations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#location_orderArray<String>

The prioritization order to use for fleet locations, when the ‘PriorityOrder` property includes `LOCATION`. Locations can include Amazon Web Services Region codes (such as `us-west-2`), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see [Amazon GameLift service locations.]

[1]: docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html

Returns:

  • (Array<String>)


9366
9367
9368
9369
9370
9371
# File 'lib/aws-sdk-gamelift/types.rb', line 9366

class PriorityConfiguration < Struct.new(
  :priority_order,
  :location_order)
  SENSITIVE = []
  include Aws::Structure
end

#priority_orderArray<String>

A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once.

  • ‘LATENCY` – Amazon GameLift prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request.

  • ‘COST` – Amazon GameLift prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) of each destination in the queue.

  • ‘DESTINATION` – Amazon GameLift prioritizes based on the list order of destinations in the queue configuration.

  • ‘LOCATION` – Amazon GameLift prioritizes based on the provided order of locations, as defined in `LocationOrder`.

Returns:

  • (Array<String>)


9366
9367
9368
9369
9370
9371
# File 'lib/aws-sdk-gamelift/types.rb', line 9366

class PriorityConfiguration < Struct.new(
  :priority_order,
  :location_order)
  SENSITIVE = []
  include Aws::Structure
end