AWS::EC2::RouteServerEndpointCreates a new endpoint for a route server in a specified subnet. A route server endpoint is an AWS -managed component inside a subnet that facilitates [BGP (Border Gateway Protocol)](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Border_Gateway_Protocol) connections between your route server and your BGP peers. For more information see [Dynamic routing in your VPC with VPC Route Server](https://docs.aws.amazon.com/vpc/latest/userguide/dynamic-routing-route-server.html) in the *Amazon VPC User Guide* .
import { CfnRouteServerEndpoint } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnRouteServerEndpointConfiguration passed to the constructor as CfnRouteServerEndpointProps.
routeServerIdRequiredstringThe ID of the route server associated with this endpoint.
subnetIdRequiredstringThe ID of the subnet to place the route server endpoint into.
tagsOptionalCfnTag[]Any tags assigned to the route server endpoint.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::RouteServerEndpoint