capabilities.work

Queue-Based Game Session Placement

A 3-step recipe with Amazon GameLift. We can help you get access.

Recipe · 3 steps

Queue-Based Game Session Placement

Create a queue, start a placement, and poll until FULFILLED.

  1. Create a game session queue with the supplied ordered list of fleet/alias destinations.
  2. Start an asynchronous game session placement against the new queue. The placement begins in PENDING status.
  3. Describe the placement and check its status. Repeat while PENDING; finish once the placement is FULFILLED, or branch to the terminal step on a CANCELLED, TIMED_OUT, or FAILED outcome.
What you'll need to have ready
  • queueName: A descriptive label for the queue, unique within the Region.
  • timeoutInSeconds: Maximum time a placement request can remain in the queue before timing out.
  • destinations: Ordered list of fleet/alias ARN destinations the queue can place sessions into.
  • placementId: A developer-defined unique identifier for the placement request.
  • maximumPlayerSessionCount: Maximum number of players that can connect to the placed game session.
  • gameSessionName: Optional descriptive label for the placed game session.
For your developer

Arazzo workflow amazon-gamelift:queue-placement, 3 operations: CreateGameSessionQueue → StartGameSessionPlacement → DescribeGameSessionPlacement. Specs on APIs.io.