Skip to content
v2.273.0

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.
peerAddressstringpeer_addressstrpeerAddressStringPeerAddressstringPeerAddress*stringrequired#
The IPv4 address of the peer device.
routeServerEndpointIdstringroute_server_endpoint_idstrrouteServerEndpointIdStringRouteServerEndpointIdstringRouteServerEndpointId*stringrequired#
The ID of the route server endpoint associated with this peer.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
Any tags assigned to the route server peer.

Used as props by ​