Skip to content

Associate Route Server

ec2_associate_route_server R Documentation

Associates a route server with a VPC to enable dynamic route updates

Description

Associates a route server with a VPC to enable dynamic route updates.

A route server association is the connection established between a route server and a VPC.

For more information see Dynamic routing in your VPC with VPC Route Server in the Amazon VPC User Guide.

Usage

ec2_associate_route_server(RouteServerId, VpcId, DryRun)

Arguments

RouteServerId

[required] The unique identifier for the route server to be associated.

VpcId

[required] The ID of the VPC to associate with the route server.

DryRun

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  RouteServerAssociation = list(
    RouteServerId = "string",
    VpcId = "string",
    State = "associating"|"associated"|"disassociating"
  )
)

Request syntax

svc$associate_route_server(
  RouteServerId = "string",
  VpcId = "string",
  DryRun = TRUE|FALSE
)