"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLocalGatewayRouteOutput = exports.getLocalGatewayRoute = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for Local Gateway Route which describes a route for a local gateway route table.
 */
function getLocalGatewayRoute(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:ec2:getLocalGatewayRoute", {
        "destinationCidrBlock": args.destinationCidrBlock,
        "localGatewayRouteTableId": args.localGatewayRouteTableId,
    }, opts);
}
exports.getLocalGatewayRoute = getLocalGatewayRoute;
/**
 * Resource Type definition for Local Gateway Route which describes a route for a local gateway route table.
 */
function getLocalGatewayRouteOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:ec2:getLocalGatewayRoute", {
        "destinationCidrBlock": args.destinationCidrBlock,
        "localGatewayRouteTableId": args.localGatewayRouteTableId,
    }, opts);
}
exports.getLocalGatewayRouteOutput = getLocalGatewayRouteOutput;
//# sourceMappingURL=getLocalGatewayRoute.js.map