{ "$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:

" } ] }, "bgpStatus": { "allOf": [ { "$ref": "#/components/schemas/BGPStatus" }, { "description": "

The status of the BGP peer. The following are the possible values:

" } ] }, "awsDeviceV2": { "allOf": [ { "$ref": "#/components/schemas/AwsDeviceV2" }, { "description": "The Direct Connect endpoint that terminates the BGP peer." } ] }, "awsLogicalDeviceId": { "allOf": [ { "$ref": "#/components/schemas/AwsLogicalDeviceId" }, { "description": "The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection." } ] } } }