Amazon GameLift Service
API Reference (API Version 2015-10-01)
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.

IpPermission

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an Amazon GameLift. New game sessions that are started on the fleet are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. For fleets created with a custom game server, the ranges reflect the server's game session assignments. For Realtime Servers fleets, Amazon GameLift automatically opens two port ranges, one for TCP messaging and one for UDP for use by the Realtime servers.

Contents

Note

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

FromPort

Starting value for a range of allowed port numbers.

Type: Integer

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

Required: Yes

IpRange

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

Network communication protocol used by the fleet.

Type: String

Valid Values: TCP | UDP

Required: Yes

ToPort

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

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 AWS SDKs, see the following:

On this page: