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