Skip to content

PortMapping

Source code in docs_src/capo_app_mesh/types/port_mapping.py
class PortMapping(TypedDict, closed=True):
    port: "capo_app_mesh.types.port_number.PortNumber"
    """<p>The port used for the port mapping.</p>"""
    protocol: "capo_app_mesh.types.port_protocol.PortProtocol"
    """<p>The protocol used for the port mapping. Specify one protocol.</p>"""

port instance-attribute

port: PortNumber

The port used for the port mapping.

protocol instance-attribute

protocol: PortProtocol

The protocol used for the port mapping. Specify one protocol.