AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::RouteServerPeer

EC2 RouteServerPeer

VPC Route Server Peer

Properties

4 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
BgpOptions
BgpOptions
RequiredCreate-only
PeerAddress
string
RequiredCreate-only
RouteServerEndpointId
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the Route Server Peer.
EndpointEniAddressstringElastic Network Interface IP address owned by the Route Server Endpoint
EndpointEniIdstringElastic Network Interface ID owned by the Route Server Endpoint
IdstringThe ID of the Route Server Peer.
RouteServerIdstringRoute Server ID
SubnetIdstringSubnet ID
VpcIdstringVPC ID

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::RouteServerPeer

Resources:
  MyResource:
    Type: AWS::EC2::RouteServerPeer
    Properties:
      RouteServerEndpointId: "my-routeserverendpointid"
      PeerAddress: "value"
      BgpOptions: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateRouteServerPeerec2:CreateTagsec2:DescribeRouteServerPeersec2:AuthorizeSecurityGroupIngress

read

ec2:DescribeRouteServerPeersec2:DescribeTags

update

ec2:CreateTagsec2:DeleteTagsec2:DescribeRouteServerPeersec2:DescribeTagsec2:ModifyRouteServerPeer

delete

ec2:DescribeTagsec2:DescribeRouteServerPeersec2:DeleteRouteServerPeerec2:DeleteTagsec2:RevokeSecurityGroupIngress

list

ec2:DescribeTagsec2:DescribeRouteServerPeers

Get the EC2 Cheat Sheet

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

Download Free Infographic

Quick Facts

ServiceEC2
Properties11
Required3
TaggingSupported
Primary IDId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

RouteServerEndpointIdPeerAddressBgpOptions

External Links