IpPermission class

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an Amazon GameLift hosting resource. 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.

Constructors

IpPermission({required int fromPort, required String ipRange, required IpProtocol protocol, required int toPort})
IpPermission.fromJson(Map<String, dynamic> json)
factory

Properties

fromPort int
A starting value for a range of allowed port numbers.
final
hashCode int
The hash code for this object.
no setterinherited
ipRange String
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".
final
protocol IpProtocol
The network communication protocol used by the fleet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toPort int
An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited