Skip to content

Route

Source code in docs_src/capo_direct_connect/types/route.py
class Route(TypedDict, closed=True):
    cidr: NotRequired["capo_direct_connect.types.route_cidr.RouteCidr"]
    """<p>The CIDR (prefix) of the route.</p>"""
    route_direction: NotRequired[
        "capo_direct_connect.types.route_direction.RouteDirection"
    ]
    """<p>The direction of the route.</p> <p>The valid values are <code>accepted</code> (received from the customer network) and <code>advertised</code> (advertised to the customer network).</p>"""
    address_family: NotRequired[
        "capo_direct_connect.types.address_family.AddressFamily"
    ]
    """<p>The address family of the route.</p> <p>The valid values are <code>ipv4</code> and <code>ipv6</code>.</p>"""
    as_path: NotRequired[
        "capo_direct_connect.types.as_path_segment_list.AsPathSegmentList"
    ]
    """<p>The autonomous system (AS) path of the route.</p>"""
    communities: NotRequired["capo_direct_connect.types.community_list.CommunityList"]
    """<p>The BGP communities associated with the route.</p>"""
    aws_logical_device_id: NotRequired[
        "capo_direct_connect.types.aws_logical_device_id.AwsLogicalDeviceId"
    ]
    """<p>The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.</p>"""
    route_installed_at: NotRequired[
        "capo_direct_connect.types.route_installed_at.RouteInstalledAt"
    ]
    """<p>The time when the route was installed. The value is displayed in UTC format.</p>"""

address_family instance-attribute

address_family: NotRequired[AddressFamily]

The address family of the route.

The valid values are ipv4 and ipv6.

as_path instance-attribute

as_path: NotRequired[AsPathSegmentList]

The autonomous system (AS) path of the route.

aws_logical_device_id instance-attribute

aws_logical_device_id: NotRequired[AwsLogicalDeviceId]

The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.

cidr instance-attribute

cidr: NotRequired[RouteCidr]

The CIDR (prefix) of the route.

communities instance-attribute

communities: NotRequired[CommunityList]

The BGP communities associated with the route.

route_direction instance-attribute

route_direction: NotRequired[RouteDirection]

The direction of the route.

The valid values are accepted (received from the customer network) and advertised (advertised to the customer network).

route_installed_at instance-attribute

route_installed_at: NotRequired[RouteInstalledAt]

The time when the route was installed. The value is displayed in UTC format.