Class: Aws::GameLift::Types::GameSessionConnectionInfo

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

Connection information for the new game session that is created with matchmaking. (with StartMatchmaking). Once a match is set, the FlexMatch engine places the match and 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dns_nameString

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.

Returns:

  • (String)


4895
4896
4897
4898
4899
4900
4901
4902
4903
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4895

class GameSessionConnectionInfo < Struct.new(
  :game_session_arn,
  :ip_address,
  :dns_name,
  :port,
  :matched_player_sessions)
  SENSITIVE = []
  include Aws::Structure
end

#game_session_arnString

Amazon Resource Name (ARN) that is assigned to a game session and uniquely identifies it.

Returns:

  • (String)


4895
4896
4897
4898
4899
4900
4901
4902
4903
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4895

class GameSessionConnectionInfo < Struct.new(
  :game_session_arn,
  :ip_address,
  :dns_name,
  :port,
  :matched_player_sessions)
  SENSITIVE = []
  include Aws::Structure
end

#ip_addressString

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.

Returns:

  • (String)


4895
4896
4897
4898
4899
4900
4901
4902
4903
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4895

class GameSessionConnectionInfo < Struct.new(
  :game_session_arn,
  :ip_address,
  :dns_name,
  :port,
  :matched_player_sessions)
  SENSITIVE = []
  include Aws::Structure
end

#matched_player_sessionsArray<Types::MatchedPlayerSession>

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

Returns:



4895
4896
4897
4898
4899
4900
4901
4902
4903
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4895

class GameSessionConnectionInfo < Struct.new(
  :game_session_arn,
  :ip_address,
  :dns_name,
  :port,
  :matched_player_sessions)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

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

Returns:

  • (Integer)


4895
4896
4897
4898
4899
4900
4901
4902
4903
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 4895

class GameSessionConnectionInfo < Struct.new(
  :game_session_arn,
  :ip_address,
  :dns_name,
  :port,
  :matched_player_sessions)
  SENSITIVE = []
  include Aws::Structure
end