GameSession
Properties describing a game session.
A game session in ACTIVE status can host players. When a game session ends, its status is set to TERMINATED
.
Amazon GameLift retains a game session resource for 30 days after the game session ends. You can reuse idempotency token values after this time. Game session logs are retained for 14 days.
Types
Properties
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Number of players currently in the game session.
A set of key-value pairs that can store custom data in a game session. For example: {"Key": "difficulty", "Value": "novice"}
.
A set of custom game session properties, formatted as a single string value. This data is passed to a game server process with a request to start a new game session (see Start a Game Session).
A unique identifier for the game session. A game session ARN has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.
Information about the matchmaking process that resulted in the game session, if matchmaking was used. Data is in JSON syntax, formatted as a string. Information includes the matchmaker ID as well as player attributes and team assignments. For more details on matchmaker data, see Match Data. Matchmaker data is updated whenever new players are added during a successful backfill (see StartMatchBackfill).
The maximum number of players that can be connected simultaneously to the game session.
Indicates whether or not the game session is accepting new players.
Current status of the game session. A game session must have an ACTIVE
status to have player sessions.
Provides additional information about game session status. INTERRUPTED
indicates that the game session was hosted on a spot instance that was reclaimed, causing the active game session to be terminated.
A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).