Skip to content

PortRange

Source code in docs_src/capo_network_firewall/types/port_range.py
class PortRange(TypedDict, closed=True):
    from_port: "capo_network_firewall.types.port_range_bound.PortRangeBound"
    """<p>The lower limit of the port range. This must be less than or equal to the <code>ToPort</code> specification. </p>"""
    to_port: "capo_network_firewall.types.port_range_bound.PortRangeBound"
    """<p>The upper limit of the port range. This must be greater than or equal to the <code>FromPort</code> specification. </p>"""

from_port instance-attribute

from_port: PortRangeBound

The lower limit of the port range. This must be less than or equal to the ToPort specification.

to_port instance-attribute

to_port: PortRangeBound

The upper limit of the port range. This must be greater than or equal to the FromPort specification.