@pierskarsenbarg/sdm
Version:
A Pulumi package for creating and managing StrongDM cloud resources.
38 lines • 1.61 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.getWorkflowApproverOutput = exports.getWorkflowApprover = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* WorkflowApprover is an account or a role with the ability to approve requests bound to a workflow.
* This data source is deprecated.
*/
function getWorkflowApprover(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("sdm:index/getWorkflowApprover:getWorkflowApprover", {
"accountId": args.accountId,
"id": args.id,
"roleId": args.roleId,
"workflowId": args.workflowId,
}, opts);
}
exports.getWorkflowApprover = getWorkflowApprover;
/**
* WorkflowApprover is an account or a role with the ability to approve requests bound to a workflow.
* This data source is deprecated.
*/
function getWorkflowApproverOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("sdm:index/getWorkflowApprover:getWorkflowApprover", {
"accountId": args.accountId,
"id": args.id,
"roleId": args.roleId,
"workflowId": args.workflowId,
}, opts);
}
exports.getWorkflowApproverOutput = getWorkflowApproverOutput;
//# sourceMappingURL=getWorkflowApprover.js.map