@pierskarsenbarg/sdm
Version:
A Pulumi package for creating and managing StrongDM cloud resources.
60 lines • 2.1 kB
JavaScript
;
// *** 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.getRemoteIdentityOutput = exports.getRemoteIdentity = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* RemoteIdentities define the username to be used for a specific account
* when connecting to a remote resource using that group.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdm from "@pierskarsenbarg/sdm";
*
* const user = sdm.getRemoteIdentity({
* id: "i-0900909",
* username: "user",
* });
* ```
*/
function getRemoteIdentity(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("sdm:index/getRemoteIdentity:getRemoteIdentity", {
"accountId": args.accountId,
"id": args.id,
"remoteIdentityGroupId": args.remoteIdentityGroupId,
"username": args.username,
}, opts);
}
exports.getRemoteIdentity = getRemoteIdentity;
/**
* RemoteIdentities define the username to be used for a specific account
* when connecting to a remote resource using that group.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdm from "@pierskarsenbarg/sdm";
*
* const user = sdm.getRemoteIdentity({
* id: "i-0900909",
* username: "user",
* });
* ```
*/
function getRemoteIdentityOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("sdm:index/getRemoteIdentity:getRemoteIdentity", {
"accountId": args.accountId,
"id": args.id,
"remoteIdentityGroupId": args.remoteIdentityGroupId,
"username": args.username,
}, opts);
}
exports.getRemoteIdentityOutput = getRemoteIdentityOutput;
//# sourceMappingURL=getRemoteIdentity.js.map