UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

54 lines 1.86 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.getAccountAttachmentOutput = exports.getAccountAttachment = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * AccountAttachments assign an account to a role. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const accountAttachmentQuery = sdm.getAccountAttachment({ * accountId: "a-00000054", * }); * ``` */ function getAccountAttachment(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sdm:index/getAccountAttachment:getAccountAttachment", { "accountId": args.accountId, "id": args.id, "roleId": args.roleId, }, opts); } exports.getAccountAttachment = getAccountAttachment; /** * AccountAttachments assign an account to a role. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const accountAttachmentQuery = sdm.getAccountAttachment({ * accountId: "a-00000054", * }); * ``` */ function getAccountAttachmentOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sdm:index/getAccountAttachment:getAccountAttachment", { "accountId": args.accountId, "id": args.id, "roleId": args.roleId, }, opts); } exports.getAccountAttachmentOutput = getAccountAttachmentOutput; //# sourceMappingURL=getAccountAttachment.js.map