AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::RouteServerAssociation

EC2 RouteServerAssociation

VPC Route Server Association

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
RouteServerId
string
RequiredCreate-only
VpcId
string
RequiredCreate-only

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::RouteServerAssociation

Resources:
  MyResource:
    Type: AWS::EC2::RouteServerAssociation
    Properties:
      RouteServerId: "my-routeserverid"
      VpcId: "my-vpcid"

Required IAM Permissions

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

create

ec2:AssociateRouteServerec2:GetRouteServerAssociations

read

ec2:GetRouteServerAssociations

delete

ec2:GetRouteServerAssociationsec2:DisassociateRouteServer

list

ec2:DescribeRouteServersec2:GetRouteServerAssociations

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
Properties2
Required2
TaggingNot supported
Primary IDRouteServerId

Supported Operations

CreateReadDeleteList

Immutable After Creation

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

RouteServerIdVpcId

External Links