IpPermission - Amazon GameLift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

IpPermission

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet. New game sessions are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. Fleets with custom game builds must have permissions explicitly set. For Realtime Servers fleets, GameLift automatically opens two port ranges, one for TCP messaging and one for UDP.

Related actions

DescribeFleetPortSettings

Contents

Note

In the following list, the required parameters are described first.

FromPort

A starting value for a range of allowed port numbers.

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

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 60000.

Required: Yes

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]".

Type: String

Pattern: [^\s]+

Required: Yes

Protocol

The network communication protocol used by the fleet.

Type: String

Valid Values: TCP | UDP

Required: Yes

ToPort

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

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

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 60000.

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: