ContainerPortMapping
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
Contents
Note
In the following list, the required parameters are described first.
- ConnectionPort
-
The port opened on the fleet instance. This is also called the "host port".
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 60000.
Required: No
- ContainerPort
-
The port opened on the container.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 60000.
Required: No
- Protocol
-
The network protocol that this mapping supports.
Type: String
Valid Values:
TCP | UDP
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: