StrongDM v1.28.0 published on Sunday, May 11, 2025 by Piers Karsenbarg
sdm.getWorkflowApprover
Explore with Pulumi AI
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:
- Account
Id string - The approver account id.
- Id string
- Unique identifier of the WorkflowApprover.
- Role
Id string - The approver role id
- Workflow
Id string - The workflow id.
- Account
Id string - The approver account id.
- Id string
- Unique identifier of the WorkflowApprover.
- Role
Id string - The approver role id
- Workflow
Id string - The workflow id.
- account
Id String - The approver account id.
- id String
- Unique identifier of the WorkflowApprover.
- role
Id String - The approver role id
- workflow
Id String - The workflow id.
- account
Id string - The approver account id.
- id string
- Unique identifier of the WorkflowApprover.
- role
Id string - The approver role id
- workflow
Id 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.
- account
Id String - The approver account id.
- id String
- Unique identifier of the WorkflowApprover.
- role
Id String - The approver role id
- workflow
Id 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.
- Workflow
Approvers List<PiersKarsenbarg. Sdm. Outputs. Get Workflow Approver Workflow Approver> - A list where each element has the following attributes:
- Account
Id string - The approver account id.
- Id string
- Unique identifier of the WorkflowApprover.
- Role
Id string - The approver role id
- Workflow
Id string - The workflow id.
- Ids []string
- a list of strings of ids of data sources that match the given arguments.
- Workflow
Approvers []GetWorkflow Approver Workflow Approver - A list where each element has the following attributes:
- Account
Id string - The approver account id.
- Id string
- Unique identifier of the WorkflowApprover.
- Role
Id string - The approver role id
- Workflow
Id string - The workflow id.
- ids List<String>
- a list of strings of ids of data sources that match the given arguments.
- workflow
Approvers List<GetWorkflow Approver Workflow Approver> - A list where each element has the following attributes:
- account
Id String - The approver account id.
- id String
- Unique identifier of the WorkflowApprover.
- role
Id String - The approver role id
- workflow
Id String - The workflow id.
- ids string[]
- a list of strings of ids of data sources that match the given arguments.
- workflow
Approvers GetWorkflow Approver Workflow Approver[] - A list where each element has the following attributes:
- account
Id string - The approver account id.
- id string
- Unique identifier of the WorkflowApprover.
- role
Id string - The approver role id
- workflow
Id string - The workflow id.
- ids Sequence[str]
- a list of strings of ids of data sources that match the given arguments.
- workflow_
approvers Sequence[GetWorkflow Approver Workflow Approver] - 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.
- workflow
Approvers List<Property Map> - A list where each element has the following attributes:
- account
Id String - The approver account id.
- id String
- Unique identifier of the WorkflowApprover.
- role
Id String - The approver role id
- workflow
Id String - The workflow id.
Supporting Types
GetWorkflowApproverWorkflowApprover
- Account
Id string - The approver account id.
- Id string
- Unique identifier of the WorkflowApprover.
- Role
Id string - The approver role id
- Workflow
Id string - The workflow id.
- Account
Id string - The approver account id.
- Id string
- Unique identifier of the WorkflowApprover.
- Role
Id string - The approver role id
- Workflow
Id string - The workflow id.
- account
Id String - The approver account id.
- id String
- Unique identifier of the WorkflowApprover.
- role
Id String - The approver role id
- workflow
Id String - The workflow id.
- account
Id string - The approver account id.
- id string
- Unique identifier of the WorkflowApprover.
- role
Id string - The approver role id
- workflow
Id 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.
- account
Id String - The approver account id.
- id String
- Unique identifier of the WorkflowApprover.
- role
Id String - The approver role id
- workflow
Id 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.