1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. getLocalGatewayRoute

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.ec2.getLocalGatewayRoute

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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:

    LocalGatewayVirtualInterfaceGroupId string
    The ID of the virtual interface group.
    NetworkInterfaceId string
    The ID of the network interface.
    State string
    The state of the route.
    Type string
    The route type.
    LocalGatewayVirtualInterfaceGroupId string
    The ID of the virtual interface group.
    NetworkInterfaceId string
    The ID of the network interface.
    State string
    The state of the route.
    Type string
    The route type.
    localGatewayVirtualInterfaceGroupId String
    The ID of the virtual interface group.
    networkInterfaceId String
    The ID of the network interface.
    state String
    The state of the route.
    type String
    The route type.
    localGatewayVirtualInterfaceGroupId string
    The ID of the virtual interface group.
    networkInterfaceId string
    The ID of the network interface.
    state string
    The state of the route.
    type string
    The route type.
    local_gateway_virtual_interface_group_id str
    The ID of the virtual interface group.
    network_interface_id str
    The ID of the network interface.
    state str
    The state of the route.
    type str
    The route type.
    localGatewayVirtualInterfaceGroupId String
    The ID of the virtual interface group.
    networkInterfaceId String
    The ID of the network interface.
    state String
    The state of the route.
    type String
    The route type.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi