AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getLocalGatewayRoute

Describes a route for a local gateway route table.

Using getLocalGatewayRoute

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 getLocalGatewayRoute(args: GetLocalGatewayRouteArgs, opts?: InvokeOptions): Promise<GetLocalGatewayRouteResult>
function getLocalGatewayRouteOutput(args: GetLocalGatewayRouteOutputArgs, opts?: InvokeOptions): Output<GetLocalGatewayRouteResult>
def get_local_gateway_route(destination_cidr_block: Optional[str] = None,
                            local_gateway_route_table_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetLocalGatewayRouteResult
def get_local_gateway_route_output(destination_cidr_block: Optional[pulumi.Input[str]] = None,
                            local_gateway_route_table_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetLocalGatewayRouteResult]
func LookupLocalGatewayRoute(ctx *Context, args *LookupLocalGatewayRouteArgs, opts ...InvokeOption) (*LookupLocalGatewayRouteResult, error)
func LookupLocalGatewayRouteOutput(ctx *Context, args *LookupLocalGatewayRouteOutputArgs, opts ...InvokeOption) LookupLocalGatewayRouteResultOutput

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

public static class GetLocalGatewayRoute 
{
    public static Task<GetLocalGatewayRouteResult> InvokeAsync(GetLocalGatewayRouteArgs args, InvokeOptions? opts = null)
    public static Output<GetLocalGatewayRouteResult> Invoke(GetLocalGatewayRouteInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLocalGatewayRouteResult> getLocalGatewayRoute(GetLocalGatewayRouteArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getLocalGatewayRoute
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DestinationCidrBlock string

The CIDR block used for destination matches.

LocalGatewayRouteTableId string

The ID of the local gateway route table.

DestinationCidrBlock string

The CIDR block used for destination matches.

LocalGatewayRouteTableId string

The ID of the local gateway route table.

destinationCidrBlock String

The CIDR block used for destination matches.

localGatewayRouteTableId String

The ID of the local gateway route table.

destinationCidrBlock string

The CIDR block used for destination matches.

localGatewayRouteTableId string

The ID of the local gateway route table.

destination_cidr_block str

The CIDR block used for destination matches.

local_gateway_route_table_id str

The ID of the local gateway route table.

destinationCidrBlock String

The CIDR block used for destination matches.

localGatewayRouteTableId String

The ID of the local gateway route table.

getLocalGatewayRoute Result

The following output properties are available:

State string

The state of the route.

Type string

The route type.

State string

The state of the route.

Type string

The route type.

state String

The state of the route.

type String

The route type.

state string

The state of the route.

type string

The route type.

state str

The state of the route.

type str

The route type.

state String

The state of the route.

type String

The route type.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0