Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GameSessionConnectionInfo

import type { GameSessionConnectionInfo } from "https://aws-api.deno.dev/v0.3/services/gamelift.ts?docs=full";

Connection information for a new game session that is created in response to a "StartMatchmaking" request. Once a match is made, the FlexMatch engine creates a new game session for it. This information, including the game session endpoint and player sessions for each player in the original matchmaking request, is added to the "MatchmakingTicket", which can be retrieved by calling "DescribeMatchmaking".

interface GameSessionConnectionInfo {
DnsName?: string | null;
GameSessionArn?: string | null;
IpAddress?: string | null;
MatchedPlayerSessions?: MatchedPlayerSession[] | null;
Port?: number | null;
}

§Properties

§
DnsName?: string | null
[src]

The DNS identifier assigned to the instance that is running the game session. Values have the following format:

  • TLS-enabled fleets: <unique identifier>.<region identifier>.amazongamelift.com.
  • Non-TLS-enabled fleets: ec2-<unique identifier>.compute.amazonaws.com. (See Amazon EC2 Instance IP Addressing.)

When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

§
GameSessionArn?: string | null
[src]

A unique identifier for the game session. Use the game session ID.

§
IpAddress?: string | null
[src]

The IP address of the game session. To connect to a GameLift game server, an app needs both the IP address and port number.

§
MatchedPlayerSessions?: MatchedPlayerSession[] | null
[src]

A collection of player session IDs, one for each player ID that was included in the original matchmaking request.

§
Port?: number | null
[src]

The port number for the game session. To connect to a GameLift game server, an app needs both the IP address and port number.