Skip to content

Disassociate Transit Gateway Route Table

ec2_disassociate_transit_gateway_route_table R Documentation

Disassociates a resource attachment from a transit gateway route table

Description

Disassociates a resource attachment from a transit gateway route table.

Usage

ec2_disassociate_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$disassociate_transit_gateway_route_table(
  TransitGatewayRouteTableId = "string",
  TransitGatewayAttachmentId = "string",
  DryRun = TRUE|FALSE
)