Skip to content

Associate Transit Gateway Policy Table

ec2_associate_transit_gateway_policy_table R Documentation

Associates the specified transit gateway attachment with a transit gateway policy table

Description

Associates the specified transit gateway attachment with a transit gateway policy table.

Usage

ec2_associate_transit_gateway_policy_table(TransitGatewayPolicyTableId,
  TransitGatewayAttachmentId, DryRun)

Arguments

TransitGatewayPolicyTableId

[required] The ID of the transit gateway policy table to associate with the transit gateway attachment.

TransitGatewayAttachmentId

[required] The ID of the transit gateway attachment to associate with 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$associate_transit_gateway_policy_table(
  TransitGatewayPolicyTableId = "string",
  TransitGatewayAttachmentId = "string",
  DryRun = TRUE|FALSE
)