Skip to content

Get Transit Gateway Policy Table Associations

ec2_get_transit_gateway_policy_table_associations R Documentation

Gets a list of the transit gateway policy table associations

Description

Gets a list of the transit gateway policy table associations.

Usage

ec2_get_transit_gateway_policy_table_associations(
  TransitGatewayPolicyTableId, Filters, MaxResults, NextToken, DryRun)

Arguments

TransitGatewayPolicyTableId

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

Filters

The filters associated with the transit gateway policy table.

MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken

The token for the next page of results.

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

Request syntax

svc$get_transit_gateway_policy_table_associations(
  TransitGatewayPolicyTableId = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string",
  DryRun = TRUE|FALSE
)