ContainerPortMapping
Describes a mapping between a container port and a connection port on a fleet instance. You define container ports in a container group definition. Amazon GameLift Servers assigns connection ports when it deploys the container group to an instance.
Part of: ContainerGroupPortMapping
Contents
Note
In the following list, the required parameters are described first.
- ConnectionPort
-
The port number on the fleet instance that maps to the container port. Connection ports are assigned by Amazon GameLift Servers when the container group is deployed to an instance.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 60000.
Required: No
- ContainerPort
-
The port number on the container. This port is defined in the container group definition. Container port numbers must be unique within a container group definition.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 60000.
Required: No
- Protocol
-
The network protocol for the port mapping. Valid values are
TCPorUDP.Type: String
Valid Values:
TCP | UDPRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: