Skip to content

Disassociate Transit Gateway Policy Table

ec2_disassociate_transit_gateway_policy_table R Documentation

Removes the association between an an attachment and a policy table

Description

Removes the association between an an attachment and a policy table.

Usage

ec2_disassociate_transit_gateway_policy_table(
  TransitGatewayPolicyTableId, TransitGatewayAttachmentId, DryRun)

Arguments

TransitGatewayPolicyTableId

[required] The ID of the disassociated policy table.

TransitGatewayAttachmentId

[required] The ID of the transit gateway attachment to disassociate from the policy 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(
  Association = list(
    TransitGatewayPolicyTableId = "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_policy_table(
  TransitGatewayPolicyTableId = "string",
  TransitGatewayAttachmentId = "string",
  DryRun = TRUE|FALSE
)