Skip to content

Describe Local Gateway Route Tables

ec2_describe_local_gateway_route_tables R Documentation

Describes one or more local gateway route tables

Description

Describes one or more local gateway route tables. By default, all local gateway route tables are described. Alternatively, you can filter the results.

Usage

ec2_describe_local_gateway_route_tables(LocalGatewayRouteTableIds,
  Filters, MaxResults, NextToken, DryRun)

Arguments

LocalGatewayRouteTableIds

The IDs of the local gateway route tables.

Filters

One or more filters.

  • local-gateway-id - The ID of a local gateway.

  • local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local gateway route table.

  • local-gateway-route-table-id - The ID of a local gateway route table.

  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

  • owner-id - The ID of the Amazon Web Services account that owns the local gateway route table.

  • state - The state of the local gateway route 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(
  LocalGatewayRouteTables = list(
    list(
      LocalGatewayRouteTableId = "string",
      LocalGatewayRouteTableArn = "string",
      LocalGatewayId = "string",
      OutpostArn = "string",
      OwnerId = "string",
      State = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      Mode = "direct-vpc-routing"|"coip",
      StateReason = list(
        Code = "string",
        Message = "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

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