Skip to content

IpPermission

Source code in docs_src/capo_gamelift/types/ip_permission.py
class IpPermission(TypedDict, closed=True):
    from_port: NotRequired["capo_gamelift.types.port_number.PortNumber"]
    """<p>A starting value for a range of allowed port numbers.</p> <p>For fleets using Linux builds, only ports <code>22</code> and <code>1026-60000</code> are valid.</p> <p>For fleets using Windows builds, only ports <code>1026-60000</code> are valid.</p>"""
    to_port: NotRequired["capo_gamelift.types.port_number.PortNumber"]
    """<p>An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than <code>FromPort</code>.</p> <p>For fleets using Linux builds, only ports <code>22</code> and <code>1026-60000</code> are valid.</p> <p>For fleets using Windows builds, only ports <code>1026-60000</code> are valid.</p>"""
    ip_range: NotRequired["capo_gamelift.types.ip_range.IpRange"]
    """<p>A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".</p>"""
    protocol: NotRequired["capo_gamelift.types.ip_protocol.IpProtocol"]
    """<p>The network communication protocol used by the fleet.</p>"""

from_port instance-attribute

from_port: NotRequired[PortNumber]

A starting value for a range of allowed port numbers.

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

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

ip_range instance-attribute

ip_range: NotRequired[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]".

protocol instance-attribute

protocol: NotRequired[IpProtocol]

The network communication protocol used by the fleet.

to_port instance-attribute

to_port: NotRequired[PortNumber]

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

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

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