Skip to content

PlayerConnectionEndpoint

Source code in docs_src/capo_gamelift/types/player_connection_endpoint.py
class PlayerConnectionEndpoint(TypedDict, closed=True):
    ip_address: NotRequired["capo_gamelift.types.ip_address.IpAddress"]
    """<p>IP address for connecting to the game session. When player gateway is enabled, this is a player gateway IP address. When player gateway is disabled, this is the game server IP address.</p>"""
    port: NotRequired["capo_gamelift.types.port_number.PortNumber"]
    """<p>Port number for connecting to the game session. When player gateway is enabled, this is a player gateway port. When player gateway is disabled, this is the game server port.</p>"""

ip_address instance-attribute

ip_address: NotRequired[IpAddress]

IP address for connecting to the game session. When player gateway is enabled, this is a player gateway IP address. When player gateway is disabled, this is the game server IP address.

port instance-attribute

port: NotRequired[PortNumber]

Port number for connecting to the game session. When player gateway is enabled, this is a player gateway port. When player gateway is disabled, this is the game server port.