UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

74 lines 2.55 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.getNodeOutput = exports.getNode = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Nodes make up the strongDM network, and allow your users to connect securely to your resources. * There are two types of nodes: * 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall * 2. **Gateways:** a relay that also listens for connections from strongDM clients * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const gatewayQuery = sdm.getNode({ * tags: { * env: "dev", * region: "us-west", * }, * type: "gateway", * }); * ``` */ function getNode(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sdm:index/getNode:getNode", { "bindAddress": args.bindAddress, "id": args.id, "listenAddress": args.listenAddress, "name": args.name, "tags": args.tags, "type": args.type, }, opts); } exports.getNode = getNode; /** * Nodes make up the strongDM network, and allow your users to connect securely to your resources. * There are two types of nodes: * 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall * 2. **Gateways:** a relay that also listens for connections from strongDM clients * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const gatewayQuery = sdm.getNode({ * tags: { * env: "dev", * region: "us-west", * }, * type: "gateway", * }); * ``` */ function getNodeOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sdm:index/getNode:getNode", { "bindAddress": args.bindAddress, "id": args.id, "listenAddress": args.listenAddress, "name": args.name, "tags": args.tags, "type": args.type, }, opts); } exports.getNodeOutput = getNodeOutput; //# sourceMappingURL=getNode.js.map