UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

86 lines (85 loc) 2.81 kB
import * as pulumi from "@pulumi/pulumi"; /** * WorkflowApprover is an account or a role with the ability to approve requests bound to a workflow. * This resource is deprecated. * This resource can be imported using the import command. * * ## Import * * A WorkflowApprover can be imported using the id, e.g., * * ```sh * $ pulumi import sdm:index/workflowApprover:WorkflowApprover example nt-12345678 * ``` */ export declare class WorkflowApprover extends pulumi.CustomResource { /** * Get an existing WorkflowApprover resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkflowApproverState, opts?: pulumi.CustomResourceOptions): WorkflowApprover; /** * Returns true if the given object is an instance of WorkflowApprover. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is WorkflowApprover; /** * The approver account id. */ readonly accountId: pulumi.Output<string | undefined>; /** * The approver role id */ readonly roleId: pulumi.Output<string | undefined>; /** * The workflow id. */ readonly workflowId: pulumi.Output<string>; /** * Create a WorkflowApprover resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkflowApproverArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkflowApprover resources. */ export interface WorkflowApproverState { /** * The approver account id. */ accountId?: pulumi.Input<string>; /** * The approver role id */ roleId?: pulumi.Input<string>; /** * The workflow id. */ workflowId?: pulumi.Input<string>; } /** * The set of arguments for constructing a WorkflowApprover resource. */ export interface WorkflowApproverArgs { /** * The approver account id. */ accountId?: pulumi.Input<string>; /** * The approver role id */ roleId?: pulumi.Input<string>; /** * The workflow id. */ workflowId: pulumi.Input<string>; }