GameSessionConnectionInfo

public struct GameSessionConnectionInfo : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let dnsName: String?
  • Amazon Resource Name (ARN) that is assigned to a game session and uniquely identifies it.

    Declaration

    Swift

    public let gameSessionArn: String?
  • IP address of the instance that is running the game session. When connecting to a Amazon GameLift game server, a client needs to reference an IP address (or DNS name) and port number.

    Declaration

    Swift

    public let ipAddress: String?
  • A collection of player session IDs, one for each player ID that was included in the original matchmaking request.

    Declaration

    Swift

    public let matchedPlayerSessions: [MatchedPlayerSession]?
  • Port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number.

    Declaration

    Swift

    public let port: Int?
  • Undocumented

    Declaration

    Swift

    public init(dnsName: String? = nil, gameSessionArn: String? = nil, ipAddress: String? = nil, matchedPlayerSessions: [MatchedPlayerSession]? = nil, port: Int? = nil)