Class: Aws::GameLift::Types::ContainerPortMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::ContainerPortMapping
- Includes:
- Structure
- Defined in:
- 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
-
#connection_port ⇒ Integer
The port opened on the fleet instance.
-
#container_port ⇒ Integer
The port opened on the container.
-
#protocol ⇒ String
The network protocol that this mapping supports.
Instance Attribute Details
#connection_port ⇒ Integer
The port opened on the fleet instance. This is also called the “host port”.
1508 1509 1510 1511 1512 1513 1514 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1508 class ContainerPortMapping < Struct.new( :container_port, :connection_port, :protocol) SENSITIVE = [:container_port, :connection_port] include Aws::Structure end |
#container_port ⇒ Integer
The port opened on the container.
1508 1509 1510 1511 1512 1513 1514 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1508 class ContainerPortMapping < Struct.new( :container_port, :connection_port, :protocol) SENSITIVE = [:container_port, :connection_port] include Aws::Structure end |
#protocol ⇒ String
The network protocol that this mapping supports.
1508 1509 1510 1511 1512 1513 1514 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1508 class ContainerPortMapping < Struct.new( :container_port, :connection_port, :protocol) SENSITIVE = [:container_port, :connection_port] include Aws::Structure end |