1. Packages
  2. StrongDM
  3. API Docs
  4. getWorkflowApprover
StrongDM v1.28.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

sdm.getWorkflowApprover

Explore with Pulumi AI

sdm logo
StrongDM v1.28.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

    WorkflowApprover is an account or a role with the ability to approve requests bound to a workflow. This data source is deprecated.

    Using getWorkflowApprover

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkflowApprover(args: GetWorkflowApproverArgs, opts?: InvokeOptions): Promise<GetWorkflowApproverResult>
    function getWorkflowApproverOutput(args: GetWorkflowApproverOutputArgs, opts?: InvokeOptions): Output<GetWorkflowApproverResult>
    def get_workflow_approver(account_id: Optional[str] = None,
                              id: Optional[str] = None,
                              role_id: Optional[str] = None,
                              workflow_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetWorkflowApproverResult
    def get_workflow_approver_output(account_id: Optional[pulumi.Input[str]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              role_id: Optional[pulumi.Input[str]] = None,
                              workflow_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowApproverResult]
    func LookupWorkflowApprover(ctx *Context, args *LookupWorkflowApproverArgs, opts ...InvokeOption) (*LookupWorkflowApproverResult, error)
    func LookupWorkflowApproverOutput(ctx *Context, args *LookupWorkflowApproverOutputArgs, opts ...InvokeOption) LookupWorkflowApproverResultOutput

    > Note: This function is named LookupWorkflowApprover in the Go SDK.

    public static class GetWorkflowApprover 
    {
        public static Task<GetWorkflowApproverResult> InvokeAsync(GetWorkflowApproverArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkflowApproverResult> Invoke(GetWorkflowApproverInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkflowApproverResult> getWorkflowApprover(GetWorkflowApproverArgs args, InvokeOptions options)
    public static Output<GetWorkflowApproverResult> getWorkflowApprover(GetWorkflowApproverArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sdm:index/getWorkflowApprover:getWorkflowApprover
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The approver account id.
    Id string
    Unique identifier of the WorkflowApprover.
    RoleId string
    The approver role id
    WorkflowId string
    The workflow id.
    AccountId string
    The approver account id.
    Id string
    Unique identifier of the WorkflowApprover.
    RoleId string
    The approver role id
    WorkflowId string
    The workflow id.
    accountId String
    The approver account id.
    id String
    Unique identifier of the WorkflowApprover.
    roleId String
    The approver role id
    workflowId String
    The workflow id.
    accountId string
    The approver account id.
    id string
    Unique identifier of the WorkflowApprover.
    roleId string
    The approver role id
    workflowId string
    The workflow id.
    account_id str
    The approver account id.
    id str
    Unique identifier of the WorkflowApprover.
    role_id str
    The approver role id
    workflow_id str
    The workflow id.
    accountId String
    The approver account id.
    id String
    Unique identifier of the WorkflowApprover.
    roleId String
    The approver role id
    workflowId String
    The workflow id.

    getWorkflowApprover Result

    The following output properties are available:

    Ids List<string>
    a list of strings of ids of data sources that match the given arguments.
    WorkflowApprovers List<PiersKarsenbarg.Sdm.Outputs.GetWorkflowApproverWorkflowApprover>
    A list where each element has the following attributes:
    AccountId string
    The approver account id.
    Id string
    Unique identifier of the WorkflowApprover.
    RoleId string
    The approver role id
    WorkflowId string
    The workflow id.
    Ids []string
    a list of strings of ids of data sources that match the given arguments.
    WorkflowApprovers []GetWorkflowApproverWorkflowApprover
    A list where each element has the following attributes:
    AccountId string
    The approver account id.
    Id string
    Unique identifier of the WorkflowApprover.
    RoleId string
    The approver role id
    WorkflowId string
    The workflow id.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    workflowApprovers List<GetWorkflowApproverWorkflowApprover>
    A list where each element has the following attributes:
    accountId String
    The approver account id.
    id String
    Unique identifier of the WorkflowApprover.
    roleId String
    The approver role id
    workflowId String
    The workflow id.
    ids string[]
    a list of strings of ids of data sources that match the given arguments.
    workflowApprovers GetWorkflowApproverWorkflowApprover[]
    A list where each element has the following attributes:
    accountId string
    The approver account id.
    id string
    Unique identifier of the WorkflowApprover.
    roleId string
    The approver role id
    workflowId string
    The workflow id.
    ids Sequence[str]
    a list of strings of ids of data sources that match the given arguments.
    workflow_approvers Sequence[GetWorkflowApproverWorkflowApprover]
    A list where each element has the following attributes:
    account_id str
    The approver account id.
    id str
    Unique identifier of the WorkflowApprover.
    role_id str
    The approver role id
    workflow_id str
    The workflow id.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    workflowApprovers List<Property Map>
    A list where each element has the following attributes:
    accountId String
    The approver account id.
    id String
    Unique identifier of the WorkflowApprover.
    roleId String
    The approver role id
    workflowId String
    The workflow id.

    Supporting Types

    GetWorkflowApproverWorkflowApprover

    AccountId string
    The approver account id.
    Id string
    Unique identifier of the WorkflowApprover.
    RoleId string
    The approver role id
    WorkflowId string
    The workflow id.
    AccountId string
    The approver account id.
    Id string
    Unique identifier of the WorkflowApprover.
    RoleId string
    The approver role id
    WorkflowId string
    The workflow id.
    accountId String
    The approver account id.
    id String
    Unique identifier of the WorkflowApprover.
    roleId String
    The approver role id
    workflowId String
    The workflow id.
    accountId string
    The approver account id.
    id string
    Unique identifier of the WorkflowApprover.
    roleId string
    The approver role id
    workflowId string
    The workflow id.
    account_id str
    The approver account id.
    id str
    Unique identifier of the WorkflowApprover.
    role_id str
    The approver role id
    workflow_id str
    The workflow id.
    accountId String
    The approver account id.
    id String
    Unique identifier of the WorkflowApprover.
    roleId String
    The approver role id
    workflowId String
    The workflow id.

    Package Details

    Repository
    sdm pierskarsenbarg/pulumi-sdm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdm Terraform Provider.
    sdm logo
    StrongDM v1.28.0 published on Sunday, May 11, 2025 by Piers Karsenbarg