"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.getConnectionFunctionOutput = exports.getConnectionFunction = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * A connection function.
 */
function getConnectionFunction(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:cloudfront:getConnectionFunction", {
        "id": args.id,
    }, opts);
}
exports.getConnectionFunction = getConnectionFunction;
/**
 * A connection function.
 */
function getConnectionFunctionOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:cloudfront:getConnectionFunction", {
        "id": args.id,
    }, opts);
}
exports.getConnectionFunctionOutput = getConnectionFunctionOutput;
//# sourceMappingURL=getConnectionFunction.js.map