Skip to content

ContainerPortRange

Source code in docs_src/capo_gamelift/types/container_port_range.py
class ContainerPortRange(TypedDict, closed=True):
    from_port: NotRequired["capo_gamelift.types.port_number.PortNumber"]
    """<p>A starting value for the range of allowed port numbers.</p>"""
    to_port: NotRequired["capo_gamelift.types.port_number.PortNumber"]
    """<p>An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than <code>FromPort</code>.</p>"""
    protocol: NotRequired["capo_gamelift.types.ip_protocol.IpProtocol"]
    """<p>The network protocol that these ports support. </p>"""

from_port instance-attribute

from_port: NotRequired[PortNumber]

A starting value for the range of allowed port numbers.

protocol instance-attribute

protocol: NotRequired[IpProtocol]

The network protocol that these ports support.

to_port instance-attribute

to_port: NotRequired[PortNumber]

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