Skip to content

Get Transit Gateway Prefix List References

ec2_get_transit_gateway_prefix_list_references R Documentation

Gets information about the prefix list references in a specified transit gateway route table

Description

Gets information about the prefix list references in a specified transit gateway route table.

Usage

ec2_get_transit_gateway_prefix_list_references(
  TransitGatewayRouteTableId, Filters, MaxResults, NextToken, DryRun)

Arguments

TransitGatewayRouteTableId

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

Filters

One or more filters. The possible values are:

  • attachment.resource-id - The ID of the resource for the attachment.

  • attachment.resource-type - The type of resource for the attachment. Valid values are vpc | vpn | direct-connect-gateway | peering.

  • attachment.transit-gateway-attachment-id - The ID of the attachment.

  • is-blackhole - Whether traffic matching the route is blocked (true | false).

  • prefix-list-id - The ID of the prefix list.

  • prefix-list-owner-id - The ID of the owner of the prefix list.

  • state - The state of the prefix list reference (pending | available | modifying | deleting).

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(
  TransitGatewayPrefixListReferences = list(
    list(
      TransitGatewayRouteTableId = "string",
      PrefixListId = "string",
      PrefixListOwnerId = "string",
      State = "pending"|"available"|"modifying"|"deleting",
      Blackhole = TRUE|FALSE,
      TransitGatewayAttachment = list(
        TransitGatewayAttachmentId = "string",
        ResourceType = "vpc"|"vpn"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering",
        ResourceId = "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

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