"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.getLagOutput = exports.getLag = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::DirectConnect::Lag
 */
function getLag(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:directconnect:getLag", {
        "lagArn": args.lagArn,
    }, opts);
}
exports.getLag = getLag;
/**
 * Resource Type definition for AWS::DirectConnect::Lag
 */
function getLagOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:directconnect:getLag", {
        "lagArn": args.lagArn,
    }, opts);
}
exports.getLagOutput = getLagOutput;
//# sourceMappingURL=getLag.js.map