{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-direct-connect/refs/heads/main/json-schema/amazon-direct-connect-bgp-peer-schema.json", "title": "BGPPeer", "description": "Information about a BGP peer.", "type": "object", "properties": { "bgpPeerId": { "allOf": [ { "$ref": "#/components/schemas/BGPPeerId" }, { "description": "The ID of the BGP peer." } ] }, "asn": { "allOf": [ { "$ref": "#/components/schemas/ASN" }, { "description": "The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration." } ] }, "authKey": { "allOf": [ { "$ref": "#/components/schemas/BGPAuthKey" }, { "description": "The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters." } ] }, "addressFamily": { "allOf": [ { "$ref": "#/components/schemas/AddressFamily" }, { "description": "The address family for the BGP peer." } ] }, "amazonAddress": { "allOf": [ { "$ref": "#/components/schemas/AmazonAddress" }, { "description": "The IP address assigned to the Amazon interface." } ] }, "customerAddress": { "allOf": [ { "$ref": "#/components/schemas/CustomerAddress" }, { "description": "The IP address assigned to the customer interface." } ] }, "bgpPeerState": { "allOf": [ { "$ref": "#/components/schemas/BGPPeerState" }, { "description": "
The state of the BGP peer. The following are the possible values:
verifying: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces.
pending: The BGP peer is created, and remains in this state until it is ready to be established.
available: The BGP peer is ready to be established.
deleting: The BGP peer is being deleted.
deleted: The BGP peer is deleted and cannot be established.
The status of the BGP peer. The following are the possible values:
up: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session.
down: The BGP peer is down.
unknown: The BGP peer status is not available.