Class: Aws::GameLift::Types::ContainerPortConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::ContainerPortConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-gamelift/types.rb
Overview
A set of port ranges that can be opened on the container. A process that’s running in the container can bind to a port number, making it accessible to inbound traffic when it’s mapped to a container fleet’s connection port.
Each container port range specifies a network protocol. When the configuration supports more than one protocol, we recommend that you use a different range for each protocol. If your ranges have overlapping port numbers, Amazon GameLift Servers maps a duplicated container port number to different connection ports. For example, if you include 1935 in port ranges for both TCP and UDP, it might result in the following mappings:
-
container port 1935 (tcp) => connection port 2001
-
container port 1935 (udp) => connection port 2002
**Part of:** [GameServerContainerDefinition], [GameServerContainerDefinitionInput],
- SupportContainerDefinition], [SupportContainerDefinitionInput][4
-
[1]: docs.aws.amazon.com/gamelift/latest/apireference/API_GameServerContainerDefinition.html [2]: docs.aws.amazon.com/gamelift/latest/apireference/API_GameServerContainerDefinitionInput.html [3]: docs.aws.amazon.com/gamelift/latest/apireference/API_SupportContainerDefinition.html [4]: docs.aws.amazon.com/gamelift/latest/apireference/API_SupportContainerDefinitionInput.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#container_port_ranges ⇒ Array<Types::ContainerPortRange>
A set of one or more container port number ranges.
Instance Attribute Details
permalink #container_port_ranges ⇒ Array<Types::ContainerPortRange>
A set of one or more container port number ranges. The ranges can’t overlap if the ranges’ network protocols are the same. Overlapping ranges with different protocols is allowed but not recommended.
1294 1295 1296 1297 1298 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1294 class ContainerPortConfiguration < Struct.new( :container_port_ranges) SENSITIVE = [] include Aws::Structure end |