Skip to content

/AWS1/CL_GMLIPPERMISSION

A range of IP addresses and port settings that allow inbound traffic to connect to processes on an instance in a fleet. Processes are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. For container fleets, the port settings must use the same port numbers as the fleet's connection ports.

For Realtime Servers fleets, Amazon GameLift automatically opens two port ranges, one for TCP messaging and one for UDP.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_FROMPORT TYPE /AWS1/GMLPORTNUMBER /AWS1/GMLPORTNUMBER

A starting value for a range of allowed port numbers.

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

IV_TOPORT TYPE /AWS1/GMLPORTNUMBER /AWS1/GMLPORTNUMBER

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

IV_IPRANGE TYPE /AWS1/GMLIPRANGE /AWS1/GMLIPRANGE

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "000.000.000.000/[subnet mask]" or optionally the shortened version "0.0.0.0/[subnet mask]".

IV_PROTOCOL TYPE /AWS1/GMLIPPROTOCOL /AWS1/GMLIPPROTOCOL

The network communication protocol used by the fleet.


Queryable Attributes

FromPort

A starting value for a range of allowed port numbers.

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

Accessible with the following methods

Method Description
GET_FROMPORT() Getter for FROMPORT, with configurable default
ASK_FROMPORT() Getter for FROMPORT w/ exceptions if field has no value
HAS_FROMPORT() Determine if FROMPORT has a value

ToPort

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

Accessible with the following methods

Method Description
GET_TOPORT() Getter for TOPORT, with configurable default
ASK_TOPORT() Getter for TOPORT w/ exceptions if field has no value
HAS_TOPORT() Determine if TOPORT has a value

IpRange

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "000.000.000.000/[subnet mask]" or optionally the shortened version "0.0.0.0/[subnet mask]".

Accessible with the following methods

Method Description
GET_IPRANGE() Getter for IPRANGE, with configurable default
ASK_IPRANGE() Getter for IPRANGE w/ exceptions if field has no value
HAS_IPRANGE() Determine if IPRANGE has a value

Protocol

The network communication protocol used by the fleet.

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_IPPERMISSIONSLIST

TYPES TT_IPPERMISSIONSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GMLIPPERMISSION WITH DEFAULT KEY
.