Class: Aws::GameLift::Types::ContainerPortMapping

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

Overview

This data type is used with the Amazon GameLift containers feature, which is currently in public preview.

Defines how an internal-facing container port is mapped to an external-facing connection port on a fleet instance of compute type CONTAINER. Incoming traffic, such as a game client, uses a connection port to connect to a process in the container fleet. Amazon GameLift directs the inbound traffic to the container port that is assigned to the process, such as a game session, running on a container.

Part of: ContainerAttributes

Constant Summary collapse

SENSITIVE =
[:container_port, :connection_port]

Instance Attribute Summary collapse

Instance Attribute Details

#connection_portInteger

The port opened on the fleet instance. This is also called the "host port".

Returns:

  • (Integer)


1466
1467
1468
1469
1470
1471
1472
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1466

class ContainerPortMapping < Struct.new(
  :container_port,
  :connection_port,
  :protocol)
  SENSITIVE = [:container_port, :connection_port]
  include Aws::Structure
end

#container_portInteger

The port opened on the container.

Returns:

  • (Integer)


1466
1467
1468
1469
1470
1471
1472
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1466

class ContainerPortMapping < Struct.new(
  :container_port,
  :connection_port,
  :protocol)
  SENSITIVE = [:container_port, :connection_port]
  include Aws::Structure
end

#protocolString

The network protocol that this mapping supports.

Returns:

  • (String)


1466
1467
1468
1469
1470
1471
1472
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1466

class ContainerPortMapping < Struct.new(
  :container_port,
  :connection_port,
  :protocol)
  SENSITIVE = [:container_port, :connection_port]
  include Aws::Structure
end