1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getLocalGatewayRouteTable

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.ec2.getLocalGatewayRouteTable

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for Local Gateway Route Table which describes a route table for a local gateway.

Using getLocalGatewayRouteTable

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLocalGatewayRouteTable(args: GetLocalGatewayRouteTableArgs, opts?: InvokeOptions): Promise<GetLocalGatewayRouteTableResult>
function getLocalGatewayRouteTableOutput(args: GetLocalGatewayRouteTableOutputArgs, opts?: InvokeOptions): Output<GetLocalGatewayRouteTableResult>
Copy
def get_local_gateway_route_table(local_gateway_route_table_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetLocalGatewayRouteTableResult
def get_local_gateway_route_table_output(local_gateway_route_table_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetLocalGatewayRouteTableResult]
Copy
func LookupLocalGatewayRouteTable(ctx *Context, args *LookupLocalGatewayRouteTableArgs, opts ...InvokeOption) (*LookupLocalGatewayRouteTableResult, error)
func LookupLocalGatewayRouteTableOutput(ctx *Context, args *LookupLocalGatewayRouteTableOutputArgs, opts ...InvokeOption) LookupLocalGatewayRouteTableResultOutput
Copy

> Note: This function is named LookupLocalGatewayRouteTable in the Go SDK.

public static class GetLocalGatewayRouteTable 
{
    public static Task<GetLocalGatewayRouteTableResult> InvokeAsync(GetLocalGatewayRouteTableArgs args, InvokeOptions? opts = null)
    public static Output<GetLocalGatewayRouteTableResult> Invoke(GetLocalGatewayRouteTableInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLocalGatewayRouteTableResult> getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs args, InvokeOptions options)
public static Output<GetLocalGatewayRouteTableResult> getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ec2:getLocalGatewayRouteTable
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LocalGatewayRouteTableId This property is required. string
The ID of the local gateway route table.
LocalGatewayRouteTableId This property is required. string
The ID of the local gateway route table.
localGatewayRouteTableId This property is required. String
The ID of the local gateway route table.
localGatewayRouteTableId This property is required. string
The ID of the local gateway route table.
local_gateway_route_table_id This property is required. str
The ID of the local gateway route table.
localGatewayRouteTableId This property is required. String
The ID of the local gateway route table.

getLocalGatewayRouteTable Result

The following output properties are available:

LocalGatewayRouteTableArn string
The ARN of the local gateway route table.
LocalGatewayRouteTableId string
The ID of the local gateway route table.
OutpostArn string
The ARN of the outpost.
OwnerId string
The owner of the local gateway route table.
State string
The state of the local gateway route table.
Tags List<Pulumi.AwsNative.Outputs.Tag>
The tags for the local gateway route table.
LocalGatewayRouteTableArn string
The ARN of the local gateway route table.
LocalGatewayRouteTableId string
The ID of the local gateway route table.
OutpostArn string
The ARN of the outpost.
OwnerId string
The owner of the local gateway route table.
State string
The state of the local gateway route table.
Tags Tag
The tags for the local gateway route table.
localGatewayRouteTableArn String
The ARN of the local gateway route table.
localGatewayRouteTableId String
The ID of the local gateway route table.
outpostArn String
The ARN of the outpost.
ownerId String
The owner of the local gateway route table.
state String
The state of the local gateway route table.
tags List<Tag>
The tags for the local gateway route table.
localGatewayRouteTableArn string
The ARN of the local gateway route table.
localGatewayRouteTableId string
The ID of the local gateway route table.
outpostArn string
The ARN of the outpost.
ownerId string
The owner of the local gateway route table.
state string
The state of the local gateway route table.
tags Tag[]
The tags for the local gateway route table.
local_gateway_route_table_arn str
The ARN of the local gateway route table.
local_gateway_route_table_id str
The ID of the local gateway route table.
outpost_arn str
The ARN of the outpost.
owner_id str
The owner of the local gateway route table.
state str
The state of the local gateway route table.
tags Sequence[root_Tag]
The tags for the local gateway route table.
localGatewayRouteTableArn String
The ARN of the local gateway route table.
localGatewayRouteTableId String
The ID of the local gateway route table.
outpostArn String
The ARN of the outpost.
ownerId String
The owner of the local gateway route table.
state String
The state of the local gateway route table.
tags List<Property Map>
The tags for the local gateway route table.

Supporting Types

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi