Skip to content

Delete Transit Gateway Route Table

ec2_delete_transit_gateway_route_table R Documentation

Deletes the specified transit gateway route table

Description

Deletes the specified transit gateway route table. If there are any route tables associated with the transit gateway route table, you must first run disassociate_route_table before you can delete the transit gateway route table. This removes any route tables associated with the transit gateway route table.

Usage

ec2_delete_transit_gateway_route_table(TransitGatewayRouteTableId,
  DryRun)

Arguments

TransitGatewayRouteTableId

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

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(
  TransitGatewayRouteTable = list(
    TransitGatewayRouteTableId = "string",
    TransitGatewayId = "string",
    State = "pending"|"available"|"deleting"|"deleted",
    DefaultAssociationRouteTable = TRUE|FALSE,
    DefaultPropagationRouteTable = TRUE|FALSE,
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

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