Skip to content

NewBGPPeer

Source code in docs_src/capo_direct_connect/types/new_bgp_peer.py
class NewBGPPeer(TypedDict, closed=True):
    asn: "capo_direct_connect.types.asn.ASN"
    """<p>The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use <code>asnLong</code> instead.</p>"""
    asn_long: NotRequired["capo_direct_connect.types.long_asn.LongAsn"]
    """<p>The long ASN for a new BGP peer. The valid range is from 1 to 4294967294.</p>"""
    auth_key: NotRequired["capo_direct_connect.types.bgp_auth_key.BGPAuthKey"]
    """<p>The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.</p>"""
    address_family: NotRequired[
        "capo_direct_connect.types.address_family.AddressFamily"
    ]
    """<p>The address family for the BGP peer.</p>"""
    amazon_address: NotRequired[
        "capo_direct_connect.types.amazon_address.AmazonAddress"
    ]
    """<p>The IP address assigned to the Amazon interface.</p>"""
    customer_address: NotRequired[
        "capo_direct_connect.types.customer_address.CustomerAddress"
    ]
    """<p>The IP address assigned to the customer interface.</p>"""

address_family instance-attribute

address_family: NotRequired[AddressFamily]

The address family for the BGP peer.

amazon_address instance-attribute

amazon_address: NotRequired[AmazonAddress]

The IP address assigned to the Amazon interface.

asn instance-attribute

asn: ASN

The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use asnLong instead.

asn_long instance-attribute

asn_long: NotRequired[LongAsn]

The long ASN for a new BGP peer. The valid range is from 1 to 4294967294.

auth_key instance-attribute

auth_key: NotRequired[BGPAuthKey]

The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

customer_address instance-attribute

customer_address: NotRequired[CustomerAddress]

The IP address assigned to the customer interface.