Skip to content

/AWS1/CL_GMLCONTAINERPORTMAP

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

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_containerport TYPE /AWS1/GMLPORTNUMBER /AWS1/GMLPORTNUMBER

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.

iv_connectionport TYPE /AWS1/GMLPORTNUMBER /AWS1/GMLPORTNUMBER

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.

iv_protocol TYPE /AWS1/GMLIPPROTOCOL /AWS1/GMLIPPROTOCOL

The network protocol for the port mapping. Valid values are TCP or UDP.


Queryable Attributes

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.

Accessible with the following methods

Method Description
GET_CONTAINERPORT() Getter for CONTAINERPORT, with configurable default
ASK_CONTAINERPORT() Getter for CONTAINERPORT w/ exceptions if field has no value
HAS_CONTAINERPORT() Determine if CONTAINERPORT has a value

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.

Accessible with the following methods

Method Description
GET_CONNECTIONPORT() Getter for CONNECTIONPORT, with configurable default
ASK_CONNECTIONPORT() Getter for CONNECTIONPORT w/ exceptions if field has no valu
HAS_CONNECTIONPORT() Determine if CONNECTIONPORT has a value

Protocol

The network protocol for the port mapping. Valid values are TCP or UDP.

Accessible with the following methods

Method Description
GET_PROTOCOL() Getter for PROTOCOL, with configurable default
ASK_PROTOCOL() Getter for PROTOCOL w/ exceptions if field has no value
HAS_PROTOCOL() Determine if PROTOCOL has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CONTAINERPORTMAPPINGLIST

TYPES TT_CONTAINERPORTMAPPINGLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GMLCONTAINERPORTMAP WITH DEFAULT KEY
.