UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

50 lines 2.3 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.getWorkflowOutput = exports.getWorkflow = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Workflows are the collection of rules that define the resources to which access can be requested, * the users that can request that access, and the mechanism for approving those requests which can either * but automatic approval or a set of users authorized to approve the requests. */ function getWorkflow(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sdm:index/getWorkflow:getWorkflow", { "accessRequestFixedDuration": args.accessRequestFixedDuration, "accessRequestMaxDuration": args.accessRequestMaxDuration, "approvalFlowId": args.approvalFlowId, "autoGrant": args.autoGrant, "description": args.description, "enabled": args.enabled, "id": args.id, "name": args.name, "weight": args.weight, }, opts); } exports.getWorkflow = getWorkflow; /** * Workflows are the collection of rules that define the resources to which access can be requested, * the users that can request that access, and the mechanism for approving those requests which can either * but automatic approval or a set of users authorized to approve the requests. */ function getWorkflowOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sdm:index/getWorkflow:getWorkflow", { "accessRequestFixedDuration": args.accessRequestFixedDuration, "accessRequestMaxDuration": args.accessRequestMaxDuration, "approvalFlowId": args.approvalFlowId, "autoGrant": args.autoGrant, "description": args.description, "enabled": args.enabled, "id": args.id, "name": args.name, "weight": args.weight, }, opts); } exports.getWorkflowOutput = getWorkflowOutput; //# sourceMappingURL=getWorkflow.js.map