interface BgpPeerProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DirectConnect.CfnPublicVirtualInterface.BgpPeerProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdirectconnect#CfnPublicVirtualInterface_BgpPeerProperty |
Java | software.amazon.awscdk.services.directconnect.CfnPublicVirtualInterface.BgpPeerProperty |
Python | aws_cdk.aws_directconnect.CfnPublicVirtualInterface.BgpPeerProperty |
TypeScript | aws-cdk-lib » aws_directconnect » CfnPublicVirtualInterface » BgpPeerProperty |
Information about a BGP peer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_directconnect as directconnect } from 'aws-cdk-lib';
const bgpPeerProperty: directconnect.CfnPublicVirtualInterface.BgpPeerProperty = {
addressFamily: 'addressFamily',
asn: 'asn',
// the properties below are optional
amazonAddress: 'amazonAddress',
authKey: 'authKey',
bgpPeerId: 'bgpPeerId',
customerAddress: 'customerAddress',
};
Properties
| Name | Type | Description |
|---|---|---|
| address | string | The address family for the BGP peer. |
| asn | string | The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. |
| amazon | string | The IP address assigned to the Amazon interface. |
| auth | string | The authentication key for BGP configuration. |
| bgp | string | |
| customer | string | The IP address assigned to the customer interface. |
addressFamily
Type:
string
The address family for the BGP peer.
asn
Type:
string
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
amazonAddress?
Type:
string
(optional)
The IP address assigned to the Amazon interface.
authKey?
Type:
string
(optional)
The authentication key for BGP configuration.
This string has a minimum length of 6 characters and and a maximum length of 80 characters.
bgpPeerId?
Type:
string
(optional)
customerAddress?
Type:
string
(optional)
The IP address assigned to the customer interface.

.NET
Go
Java
Python
TypeScript