capabilities.work

Host a Game Session and Add a Player

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

Recipe · 3 steps

Host a Game Session and Add a Player

Create a game session, poll until ACTIVE, then create a player session.

  1. Create a new game session on the fleet. New game sessions start in ACTIVATING status and must reach ACTIVE before players can join.
  2. Describe the game session and check whether it has reached ACTIVE status. Repeat this step until the session can accept player sessions.
  3. Reserve a player session on the now-ACTIVE game session so the player can connect to the game server.
What you'll need to have ready
  • fleetId: The fleet ID or ARN to create the game session on.
  • maximumPlayerSessionCount: Maximum number of players that can connect to the game session.
  • sessionName: Optional descriptive label for the game session.
  • playerId: Developer-defined unique identifier for the player to add.
  • playerData: Optional developer-defined data for the player.
For your developer

Arazzo workflow amazon-gamelift:host-game-session, 3 operations: CreateGameSession → DescribeGameSessions → CreatePlayerSession. Specs on APIs.io.