Skip to content

Get Transit Gateway Policy Table Entries

ec2_get_transit_gateway_policy_table_entries R Documentation

Returns a list of transit gateway policy table entries

Description

Returns a list of transit gateway policy table entries.

Usage

ec2_get_transit_gateway_policy_table_entries(
  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(
  TransitGatewayPolicyTableEntries = list(
    list(
      PolicyRuleNumber = "string",
      PolicyRule = list(
        SourceCidrBlock = "string",
        SourcePortRange = "string",
        DestinationCidrBlock = "string",
        DestinationPortRange = "string",
        Protocol = "string",
        MetaData = list(
          MetaDataKey = "string",
          MetaDataValue = "string"
        )
      ),
      TargetRouteTableId = "string"
    )
  )
)

Request syntax

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