AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::GameLift::Fleet IpPermission

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on Amazon GameLift. Each game session hosted on a fleet is assigned a unique combination of IP address and port number, 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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "FromPort" : Integer, "IpRange" : String, "Protocol" : String, "ToPort" : Integer }

YAML

FromPort: Integer IpRange: String Protocol: String ToPort: Integer

Properties

FromPort

Starting value for a range of allowed port numbers.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 60000

Update requires: No interruption

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

Required: Yes

Type: String

Pattern: [^\s]+

Update requires: No interruption

Protocol

Network communication protocol used by the fleet.

Required: Yes

Type: String

Allowed Values: TCP | UDP

Update requires: No interruption

ToPort

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

Required: Yes

Type: Integer

Minimum: 1

Maximum: 60000

Update requires: No interruption

See Also

On this page: