UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

52 lines 1.61 kB
"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.getConnectorOutput = exports.getConnector = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS Transfer Family Connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.transfer.getConnector({ * id: "c-xxxxxxxxxxxxxx", * }); * ``` */ function getConnector(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:transfer/getConnector:getConnector", { "id": args.id, "region": args.region, }, opts); } exports.getConnector = getConnector; /** * Data source for managing an AWS Transfer Family Connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.transfer.getConnector({ * id: "c-xxxxxxxxxxxxxx", * }); * ``` */ function getConnectorOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:transfer/getConnector:getConnector", { "id": args.id, "region": args.region, }, opts); } exports.getConnectorOutput = getConnectorOutput; //# sourceMappingURL=getConnector.js.map