We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.ec2.getLocalGatewayRoute
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 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:
- Destination
Cidr stringBlock - The CIDR block used for destination matches.
- Local
Gateway stringRoute Table Id - The ID of the local gateway route table.
- Destination
Cidr stringBlock - The CIDR block used for destination matches.
- Local
Gateway stringRoute Table Id - The ID of the local gateway route table.
- destination
Cidr StringBlock - The CIDR block used for destination matches.
- local
Gateway StringRoute Table Id - The ID of the local gateway route table.
- destination
Cidr stringBlock - The CIDR block used for destination matches.
- local
Gateway stringRoute Table Id - The ID of the local gateway route table.
- destination_
cidr_ strblock - The CIDR block used for destination matches.
- local_
gateway_ strroute_ table_ id - The ID of the local gateway route table.
- destination
Cidr StringBlock - The CIDR block used for destination matches.
- local
Gateway StringRoute Table Id - The ID of the local gateway route table.
getLocalGatewayRoute Result
The following output properties are available:
- Local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group.
- Network
Interface stringId - The ID of the network interface.
- State string
- The state of the route.
- Type string
- The route type.
- Local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group.
- Network
Interface stringId - The ID of the network interface.
- State string
- The state of the route.
- Type string
- The route type.
- local
Gateway StringVirtual Interface Group Id - The ID of the virtual interface group.
- network
Interface StringId - The ID of the network interface.
- state String
- The state of the route.
- type String
- The route type.
- local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group.
- network
Interface stringId - The ID of the network interface.
- state string
- The state of the route.
- type string
- The route type.
- local_
gateway_ strvirtual_ interface_ group_ id - The ID of the virtual interface group.
- network_
interface_ strid - The ID of the network interface.
- state str
- The state of the route.
- type str
- The route type.
- local
Gateway StringVirtual Interface Group Id - The ID of the virtual interface group.
- network
Interface StringId - 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi