interface BgpOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnRouteServerPeerPropsMixin.BgpOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnRouteServerPeerPropsMixin_BgpOptionsProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnRouteServerPeerPropsMixin.BgpOptionsProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnRouteServerPeerPropsMixin.BgpOptionsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnRouteServerPeerPropsMixin » BgpOptionsProperty |
The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const bgpOptionsProperty: ec2_mixins.CfnRouteServerPeerPropsMixin.BgpOptionsProperty = {
peerAsn: 123,
peerLivenessDetection: 'peerLivenessDetection',
};
Properties
| Name | Type | Description |
|---|---|---|
| peer | number | The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. |
| peer | string | The liveness detection protocol used for the BGP peer. |
peerAsn?
Type:
number
(optional)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance.
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?
Type:
string
(optional)
The liveness detection protocol used for the BGP peer.
The requested liveness detection protocol for the BGP peer.
bgp-keepalive: The standard BGP keep alive mechanism ( RFC4271 ) that is stable but may take longer to fail-over in cases of network impact or router failure.bfd: An additional Bidirectional Forwarding Detection (BFD) protocol ( RFC5880 ) that enables fast failover by using more sensitive liveness detection.
Defaults to bgp-keepalive .

.NET
Go
Java
Python
TypeScript