Class: Aws::GameLift::Types::GameSessionQueue

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

Overview

Configuration of a queue that is used to process game session placement requests. The queue configuration identifies several game features:

  • The destinations where a new game session can potentially be hosted. Amazon GameLift tries these destinations in an order based on either the queue's default order or player latency information, if provided in a placement request. With latency information, Amazon GameLift can place game sessions where the majority of players are reporting the lowest possible latency.

  • The length of time that placement requests can wait in the queue before timing out.

  • A set of optional latency policies that protect individual players from high latencies, preventing game sessions from being placed where any individual player is reporting latency higher than a policy's maximum. ^

  • CreateGameSessionQueue

  • DescribeGameSessionQueues

  • UpdateGameSessionQueue

  • DeleteGameSessionQueue

Instance Attribute Summary collapse

Instance Attribute Details

#destinationsArray<Types::GameSessionQueueDestination>

A list of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.



4249
4250
4251
4252
4253
4254
4255
4256
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4249

class GameSessionQueue < Struct.new(
  :name,
  :game_session_queue_arn,
  :timeout_in_seconds,
  :player_latency_policies,
  :destinations)
  include Aws::Structure
end

#game_session_queue_arnString

Amazon Resource Name (ARN) that is assigned to a GameLift game session queue resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift game session queue ARN, the resource ID matches the Name value.

Returns:

  • (String)


4249
4250
4251
4252
4253
4254
4255
4256
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4249

class GameSessionQueue < Struct.new(
  :name,
  :game_session_queue_arn,
  :timeout_in_seconds,
  :player_latency_policies,
  :destinations)
  include Aws::Structure
end

#nameString

A descriptive label that is associated with game session queue. Queue names must be unique within each Region.

Returns:

  • (String)


4249
4250
4251
4252
4253
4254
4255
4256
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4249

class GameSessionQueue < Struct.new(
  :name,
  :game_session_queue_arn,
  :timeout_in_seconds,
  :player_latency_policies,
  :destinations)
  include Aws::Structure
end

#player_latency_policiesArray<Types::PlayerLatencyPolicy>

A collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, the policy is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement.

Returns:



4249
4250
4251
4252
4253
4254
4255
4256
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4249

class GameSessionQueue < Struct.new(
  :name,
  :game_session_queue_arn,
  :timeout_in_seconds,
  :player_latency_policies,
  :destinations)
  include Aws::Structure
end

#timeout_in_secondsInteger

The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT status.

Returns:

  • (Integer)


4249
4250
4251
4252
4253
4254
4255
4256
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4249

class GameSessionQueue < Struct.new(
  :name,
  :game_session_queue_arn,
  :timeout_in_seconds,
  :player_latency_policies,
  :destinations)
  include Aws::Structure
end