class Aws::GameLift::Types::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

@note When making an API call, you may pass IpPermission

data as a hash:

    {
      from_port: 1, # required
      to_port: 1, # required
      ip_range: "NonBlankString", # required
      protocol: "TCP", # required, accepts TCP, UDP
    }

@!attribute [rw] from_port

A starting value for a range of allowed port numbers.
@return [Integer]

@!attribute [rw] to_port

An ending value for a range of allowed port numbers. Port numbers
are end-inclusive. This value must be higher than `FromPort`.
@return [Integer]

@!attribute [rw] ip_range

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]`".
@return [String]

@!attribute [rw] protocol

The network communication protocol used by the fleet.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/IpPermission AWS API Documentation

Constants

SENSITIVE