Class CfnRouteServerPeer.BgpOptionsProperty
The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRouteServerPeer.BgpOptionsProperty : CfnRouteServerPeer.IBgpOptionsProperty
Syntax (vb)
Public Class CfnRouteServerPeer.BgpOptionsProperty Implements CfnRouteServerPeer.IBgpOptionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var bgpOptionsProperty = new BgpOptionsProperty {
PeerAsn = 123,
PeerLivenessDetection = "peerLivenessDetection"
};
Synopsis
Constructors
| BgpOptionsProperty() | The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. |
Properties
| PeerAsn | The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. |
| PeerLivenessDetection | The liveness detection protocol used for the BGP peer. |
Constructors
BgpOptionsProperty()
The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
public BgpOptionsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var bgpOptionsProperty = new BgpOptionsProperty {
PeerAsn = 123,
PeerLivenessDetection = "peerLivenessDetection"
};
Properties
PeerAsn
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance.
public double? PeerAsn { get; set; }
Property Value
Remarks
Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.
PeerLivenessDetection
The liveness detection protocol used for the BGP peer.
public string? PeerLivenessDetection { get; set; }
Property Value
Remarks
The requested liveness detection protocol for the BGP peer.
Defaults to bgp-keepalive .