Skip to content

VirtualNodeSpec

Source code in docs_src/capo_app_mesh/types/virtual_node_spec.py
class VirtualNodeSpec(TypedDict, closed=True):
    service_discovery: NotRequired[
        "capo_app_mesh.types.service_discovery.ServiceDiscovery"
    ]
    """<p>The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you can omit this parameter. If you specify a <code>listener</code>, then you must specify service discovery information.</p>"""
    listeners: NotRequired["capo_app_mesh.types.listeners.Listeners"]
    """<p>The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.</p>"""
    backends: NotRequired["capo_app_mesh.types.backends.Backends"]
    """<p>The backends that the virtual node is expected to send outbound traffic to.</p>"""
    backend_defaults: NotRequired[
        "capo_app_mesh.types.backend_defaults.BackendDefaults"
    ]
    """<p>A reference to an object that represents the defaults for backends.</p>"""
    logging: NotRequired["capo_app_mesh.types.logging.Logging"]
    """<p>The inbound and outbound access logging information for the virtual node.</p>"""

backend_defaults instance-attribute

backend_defaults: NotRequired[BackendDefaults]

A reference to an object that represents the defaults for backends.

backends instance-attribute

backends: NotRequired[Backends]

The backends that the virtual node is expected to send outbound traffic to.

listeners instance-attribute

listeners: NotRequired[Listeners]

The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.

logging instance-attribute

logging: NotRequired[Logging]

The inbound and outbound access logging information for the virtual node.

service_discovery instance-attribute

service_discovery: NotRequired[ServiceDiscovery]

The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you can omit this parameter. If you specify a listener, then you must specify service discovery information.