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