Skip to content

VirtualGateway

Source code in docs_src/capo_direct_connect/types/virtual_gateway.py
class VirtualGateway(TypedDict, closed=True):
    virtual_gateway_id: NotRequired[
        "capo_direct_connect.types.virtual_gateway_id.VirtualGatewayId"
    ]
    """<p>The ID of the virtual private gateway.</p>"""
    virtual_gateway_state: NotRequired[
        "capo_direct_connect.types.virtual_gateway_state.VirtualGatewayState"
    ]
    """<p>The state of the virtual private gateway. The following are the possible values:</p> <ul> <li> <p> <code>pending</code>: Initial state after creating the virtual private gateway.</p> </li> <li> <p> <code>available</code>: Ready for use by a private virtual interface.</p> </li> <li> <p> <code>deleting</code>: Initial state after deleting the virtual private gateway.</p> </li> <li> <p> <code>deleted</code>: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.</p> </li> </ul>"""

virtual_gateway_id instance-attribute

virtual_gateway_id: NotRequired[VirtualGatewayId]

The ID of the virtual private gateway.

virtual_gateway_state instance-attribute

virtual_gateway_state: NotRequired[VirtualGatewayState]

The state of the virtual private gateway. The following are the possible values:

  • pending: Initial state after creating the virtual private gateway.

  • available: Ready for use by a private virtual interface.

  • deleting: Initial state after deleting the virtual private gateway.

  • deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.