Skip to content

Associate Transit Gateway Route Table

ec2_associate_transit_gateway_route_table R Documentation

Associates the specified attachment with the specified transit gateway route table

Description

Associates the specified attachment with the specified transit gateway route table. You can associate only one route table with an attachment.

Usage

ec2_associate_transit_gateway_route_table(TransitGatewayRouteTableId,
  TransitGatewayAttachmentId, DryRun)

Arguments

TransitGatewayRouteTableId

[required] The ID of the transit gateway route table.

TransitGatewayAttachmentId

[required] The ID of the attachment.

DryRun

Checks 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(
  Association = list(
    TransitGatewayRouteTableId = "string",
    TransitGatewayAttachmentId = "string",
    ResourceId = "string",
    ResourceType = "vpc"|"vpn"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering",
    State = "associating"|"associated"|"disassociating"|"disassociated"
  )
)

Request syntax

svc$associate_transit_gateway_route_table(
  TransitGatewayRouteTableId = "string",
  TransitGatewayAttachmentId = "string",
  DryRun = TRUE|FALSE
)