UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

84 lines 2.36 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * WorkflowApprover is an account or a role with the ability to approve requests bound to a workflow. * This data source is deprecated. */ export declare function getWorkflowApprover(args?: GetWorkflowApproverArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkflowApproverResult>; /** * A collection of arguments for invoking getWorkflowApprover. */ export interface GetWorkflowApproverArgs { /** * The approver account id. */ accountId?: string; /** * Unique identifier of the WorkflowApprover. */ id?: string; /** * The approver role id */ roleId?: string; /** * The workflow id. */ workflowId?: string; } /** * A collection of values returned by getWorkflowApprover. */ export interface GetWorkflowApproverResult { /** * The approver account id. */ readonly accountId?: string; /** * Unique identifier of the WorkflowApprover. */ readonly id?: string; /** * a list of strings of ids of data sources that match the given arguments. */ readonly ids: string[]; /** * The approver role id */ readonly roleId?: string; /** * A list where each element has the following attributes: */ readonly workflowApprovers: outputs.GetWorkflowApproverWorkflowApprover[]; /** * The workflow id. */ readonly workflowId?: string; } /** * WorkflowApprover is an account or a role with the ability to approve requests bound to a workflow. * This data source is deprecated. */ export declare function getWorkflowApproverOutput(args?: GetWorkflowApproverOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkflowApproverResult>; /** * A collection of arguments for invoking getWorkflowApprover. */ export interface GetWorkflowApproverOutputArgs { /** * The approver account id. */ accountId?: pulumi.Input<string | undefined>; /** * Unique identifier of the WorkflowApprover. */ id?: pulumi.Input<string | undefined>; /** * The approver role id */ roleId?: pulumi.Input<string | undefined>; /** * The workflow id. */ workflowId?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getWorkflowApprover.d.ts.map