CfnRouteServerPeerProps Struct
Properties for defining a CfnRouteServerPeer.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnRouteServerPeerProps: ec2.CfnRouteServerPeerProps = {
bgpOptions: {
peerAsn: 123,
peerLivenessDetection: 'peerLivenessDetection',
},
peerAddress: 'peerAddress',
routeServerEndpointId: 'routeServerEndpointId',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
bgpOptionsIResolvable | CfnRouteServerPeer.BgpOptionsPropertybgp_optionstyping.Union[IResolvable, BgpOptionsProperty]bgpOptionsIResolvableBgpOptionsIResolvableBgpOptionsinterface{}required#The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
The IPv4 address of the peer device.
routeServerEndpointIdstringroute_server_endpoint_idstrrouteServerEndpointIdStringRouteServerEndpointIdstringRouteServerEndpointId*stringrequired#The ID of the route server endpoint associated with this peer.