GameSessionConnectionInfo
¶
Source code in docs_src/capo_gamelift/types/game_session_connection_info.py
dns_name
instance-attribute
¶
dns_name: NotRequired[DnsName]
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
-
TLS-enabled fleets:
.. .amazongamelift.com -
Non-TLS-enabled fleets:
ec2-. (See Amazon EC2 Instance IP Addressing.).compute.amazonaws.com
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
game_session_arn
instance-attribute
¶
game_session_arn: NotRequired[ArnStringModel]
An identifier for the game session that is unique across all regions. The value is always a full ARN in the following format: For Home Region game session - arn:aws:gamelift:. For Remote Location game session - arn:aws:gamelift:.
ip_address
instance-attribute
¶
ip_address: NotRequired[IpAddress]
The IP address of the game session. To connect to a Amazon GameLift Servers game server, an app needs both the IP address and port number.
matched_player_sessions
instance-attribute
¶
matched_player_sessions: NotRequired[MatchedPlayerSessionList]
A collection of player session IDs, one for each player ID that was included in the original matchmaking request.
player_gateway_status
instance-attribute
¶
player_gateway_status: NotRequired[PlayerGatewayStatus]
The current status of player gateway for the game session. Note, even if a fleet has PlayerGatewayMode configured as ENABLED, player gateway might not be available in a specific location. For more information about locations where player gateway is supported, see supported locations.
Possible values include:
-
ENABLED-- Player gateway is available for this game session. -
DISABLED-- Player gateway is not available for this game session.
port
instance-attribute
¶
port: NotRequired[PositiveInteger]
The port number for the game session. To connect to a Amazon GameLift Servers game server, an app needs both the IP address and port number.