AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::RouteServerPeer

CfnRouteServerPeer

Specifies a BGP peer configuration for a route server endpoint. A route server peer is a session between a route server endpoint and the device deployed in AWS (such as a firewall appliance or other network security function running on an EC2 instance).

Import

import { CfnRouteServerPeer } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnRouteServerPeer

Properties

Configuration passed to the constructor as CfnRouteServerPeerProps.

bgpOptionsRequired
IResolvable | BgpOptionsProperty

The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.

peerAddressRequired
string

The IPv4 address of the peer device.

routeServerEndpointIdRequired
string

The ID of the route server endpoint associated with this peer.

tagsOptional
CfnTag[]

Any tags assigned to the route server peer.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic