1. Packages
  2. StrongDM
  3. API Docs
  4. getWorkflow
StrongDM v1.34.0 published on Sunday, Dec 7, 2025 by Piers Karsenbarg
sdm logo
StrongDM v1.34.0 published on Sunday, Dec 7, 2025 by Piers Karsenbarg

    Workflows are the collection of rules that define the resources to which access can be requested, the users that can request that access, and the mechanism for approving those requests which can either but automatic approval or a set of users authorized to approve the requests.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdm from "@pierskarsenbarg/sdm";
    
    // Query workflow by name
    const workflowByName = sdm.getWorkflow({
        name: "workflow example",
    });
    // Query workflow by ID
    const workflowById = sdm.getWorkflow({
        id: "w-1234567890abcdef",
    });
    // Query workflow by approval flow ID
    const workflowByApprovalFlow = sdm.getWorkflow({
        approvalFlowId: "aw-1234567890abcdef",
    });
    
    import pulumi
    import pulumi_sdm as sdm
    
    # Query workflow by name
    workflow_by_name = sdm.get_workflow(name="workflow example")
    # Query workflow by ID
    workflow_by_id = sdm.get_workflow(id="w-1234567890abcdef")
    # Query workflow by approval flow ID
    workflow_by_approval_flow = sdm.get_workflow(approval_flow_id="aw-1234567890abcdef")
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-sdm/sdk/go/sdm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Query workflow by name
    		_, err := sdm.LookupWorkflow(ctx, &sdm.LookupWorkflowArgs{
    			Name: pulumi.StringRef("workflow example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Query workflow by ID
    		_, err = sdm.LookupWorkflow(ctx, &sdm.LookupWorkflowArgs{
    			Id: pulumi.StringRef("w-1234567890abcdef"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		// Query workflow by approval flow ID
    		_, err = sdm.LookupWorkflow(ctx, &sdm.LookupWorkflowArgs{
    			ApprovalFlowId: pulumi.StringRef("aw-1234567890abcdef"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdm = Pulumi.Sdm;
    
    return await Deployment.RunAsync(() => 
    {
        // Query workflow by name
        var workflowByName = Sdm.GetWorkflow.Invoke(new()
        {
            Name = "workflow example",
        });
    
        // Query workflow by ID
        var workflowById = Sdm.GetWorkflow.Invoke(new()
        {
            Id = "w-1234567890abcdef",
        });
    
        // Query workflow by approval flow ID
        var workflowByApprovalFlow = Sdm.GetWorkflow.Invoke(new()
        {
            ApprovalFlowId = "aw-1234567890abcdef",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdm.SdmFunctions;
    import com.pulumi.sdm.inputs.GetWorkflowArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Query workflow by name
            final var workflowByName = SdmFunctions.getWorkflow(GetWorkflowArgs.builder()
                .name("workflow example")
                .build());
    
            // Query workflow by ID
            final var workflowById = SdmFunctions.getWorkflow(GetWorkflowArgs.builder()
                .id("w-1234567890abcdef")
                .build());
    
            // Query workflow by approval flow ID
            final var workflowByApprovalFlow = SdmFunctions.getWorkflow(GetWorkflowArgs.builder()
                .approvalFlowId("aw-1234567890abcdef")
                .build());
    
        }
    }
    
    variables:
      # Query workflow by name
      workflowByName:
        fn::invoke:
          function: sdm:getWorkflow
          arguments:
            name: workflow example
      # Query workflow by ID
      workflowById:
        fn::invoke:
          function: sdm:getWorkflow
          arguments:
            id: w-1234567890abcdef
      # Query workflow by approval flow ID
      workflowByApprovalFlow:
        fn::invoke:
          function: sdm:getWorkflow
          arguments:
            approvalFlowId: aw-1234567890abcdef
    

    Using getWorkflow

    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 getWorkflow(args: GetWorkflowArgs, opts?: InvokeOptions): Promise<GetWorkflowResult>
    function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: InvokeOptions): Output<GetWorkflowResult>
    def get_workflow(access_request_fixed_duration: Optional[str] = None,
                     access_request_max_duration: Optional[str] = None,
                     approval_flow_id: Optional[str] = None,
                     auto_grant: Optional[bool] = None,
                     description: Optional[str] = None,
                     enabled: Optional[bool] = None,
                     id: Optional[str] = None,
                     name: Optional[str] = None,
                     weight: Optional[int] = None,
                     opts: Optional[InvokeOptions] = None) -> GetWorkflowResult
    def get_workflow_output(access_request_fixed_duration: Optional[pulumi.Input[str]] = None,
                     access_request_max_duration: Optional[pulumi.Input[str]] = None,
                     approval_flow_id: Optional[pulumi.Input[str]] = None,
                     auto_grant: Optional[pulumi.Input[bool]] = None,
                     description: Optional[pulumi.Input[str]] = None,
                     enabled: Optional[pulumi.Input[bool]] = None,
                     id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     weight: Optional[pulumi.Input[int]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowResult]
    func LookupWorkflow(ctx *Context, args *LookupWorkflowArgs, opts ...InvokeOption) (*LookupWorkflowResult, error)
    func LookupWorkflowOutput(ctx *Context, args *LookupWorkflowOutputArgs, opts ...InvokeOption) LookupWorkflowResultOutput

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

    public static class GetWorkflow 
    {
        public static Task<GetWorkflowResult> InvokeAsync(GetWorkflowArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkflowResult> Invoke(GetWorkflowInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
    public static Output<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sdm:index/getWorkflow:getWorkflow
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    ApprovalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    AutoGrant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    Description string
    Optional description of the Workflow.
    Enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    Id string
    Unique identifier of the Workflow.
    Name string
    Unique human-readable name of the Workflow.
    Weight int
    Optional weight for workflow to specify it's priority in matching a request.
    AccessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    ApprovalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    AutoGrant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    Description string
    Optional description of the Workflow.
    Enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    Id string
    Unique identifier of the Workflow.
    Name string
    Unique human-readable name of the Workflow.
    Weight int
    Optional weight for workflow to specify it's priority in matching a request.
    accessRequestFixedDuration String
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration String
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approvalFlowId String
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant Boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description String
    Optional description of the Workflow.
    enabled Boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id String
    Unique identifier of the Workflow.
    name String
    Unique human-readable name of the Workflow.
    weight Integer
    Optional weight for workflow to specify it's priority in matching a request.
    accessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approvalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description string
    Optional description of the Workflow.
    enabled boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id string
    Unique identifier of the Workflow.
    name string
    Unique human-readable name of the Workflow.
    weight number
    Optional weight for workflow to specify it's priority in matching a request.
    access_request_fixed_duration str
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    access_request_max_duration str
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approval_flow_id str
    Optional approval flow ID identifies an approval flow that linked to the workflow
    auto_grant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description str
    Optional description of the Workflow.
    enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id str
    Unique identifier of the Workflow.
    name str
    Unique human-readable name of the Workflow.
    weight int
    Optional weight for workflow to specify it's priority in matching a request.
    accessRequestFixedDuration String
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration String
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approvalFlowId String
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant Boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description String
    Optional description of the Workflow.
    enabled Boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id String
    Unique identifier of the Workflow.
    name String
    Unique human-readable name of the Workflow.
    weight Number
    Optional weight for workflow to specify it's priority in matching a request.

    getWorkflow Result

    The following output properties are available:

    Ids List<string>
    a list of strings of ids of data sources that match the given arguments.
    Workflows List<PiersKarsenbarg.Sdm.Outputs.GetWorkflowWorkflow>
    A list where each element has the following attributes:
    AccessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    ApprovalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    AutoGrant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    Description string
    Optional description of the Workflow.
    Enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    Id string
    Unique identifier of the Workflow.
    Name string
    Unique human-readable name of the Workflow.
    Weight int
    Optional weight for workflow to specify it's priority in matching a request.
    Ids []string
    a list of strings of ids of data sources that match the given arguments.
    Workflows []GetWorkflowWorkflow
    A list where each element has the following attributes:
    AccessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    ApprovalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    AutoGrant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    Description string
    Optional description of the Workflow.
    Enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    Id string
    Unique identifier of the Workflow.
    Name string
    Unique human-readable name of the Workflow.
    Weight int
    Optional weight for workflow to specify it's priority in matching a request.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    workflows List<GetWorkflowWorkflow>
    A list where each element has the following attributes:
    accessRequestFixedDuration String
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration String
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approvalFlowId String
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant Boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description String
    Optional description of the Workflow.
    enabled Boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id String
    Unique identifier of the Workflow.
    name String
    Unique human-readable name of the Workflow.
    weight Integer
    Optional weight for workflow to specify it's priority in matching a request.
    ids string[]
    a list of strings of ids of data sources that match the given arguments.
    workflows GetWorkflowWorkflow[]
    A list where each element has the following attributes:
    accessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approvalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description string
    Optional description of the Workflow.
    enabled boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id string
    Unique identifier of the Workflow.
    name string
    Unique human-readable name of the Workflow.
    weight number
    Optional weight for workflow to specify it's priority in matching a request.
    ids Sequence[str]
    a list of strings of ids of data sources that match the given arguments.
    workflows Sequence[GetWorkflowWorkflow]
    A list where each element has the following attributes:
    access_request_fixed_duration str
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    access_request_max_duration str
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approval_flow_id str
    Optional approval flow ID identifies an approval flow that linked to the workflow
    auto_grant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description str
    Optional description of the Workflow.
    enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id str
    Unique identifier of the Workflow.
    name str
    Unique human-readable name of the Workflow.
    weight int
    Optional weight for workflow to specify it's priority in matching a request.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    workflows List<Property Map>
    A list where each element has the following attributes:
    accessRequestFixedDuration String
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration String
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    approvalFlowId String
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant Boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description String
    Optional description of the Workflow.
    enabled Boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id String
    Unique identifier of the Workflow.
    name String
    Unique human-readable name of the Workflow.
    weight Number
    Optional weight for workflow to specify it's priority in matching a request.

    Supporting Types

    GetWorkflowWorkflow

    AccessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRules string
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    ApprovalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    AutoGrant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    Description string
    Optional description of the Workflow.
    Enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    Id string
    Unique identifier of the Workflow.
    Name string
    Unique human-readable name of the Workflow.
    Weight int
    Optional weight for workflow to specify it's priority in matching a request.
    AccessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    AccessRules string
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    ApprovalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    AutoGrant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    Description string
    Optional description of the Workflow.
    Enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    Id string
    Unique identifier of the Workflow.
    Name string
    Unique human-readable name of the Workflow.
    Weight int
    Optional weight for workflow to specify it's priority in matching a request.
    accessRequestFixedDuration String
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration String
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRules String
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    approvalFlowId String
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant Boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description String
    Optional description of the Workflow.
    enabled Boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id String
    Unique identifier of the Workflow.
    name String
    Unique human-readable name of the Workflow.
    weight Integer
    Optional weight for workflow to specify it's priority in matching a request.
    accessRequestFixedDuration string
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration string
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRules string
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    approvalFlowId string
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description string
    Optional description of the Workflow.
    enabled boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id string
    Unique identifier of the Workflow.
    name string
    Unique human-readable name of the Workflow.
    weight number
    Optional weight for workflow to specify it's priority in matching a request.
    access_request_fixed_duration str
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    access_request_max_duration str
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    access_rules str
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    approval_flow_id str
    Optional approval flow ID identifies an approval flow that linked to the workflow
    auto_grant bool
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description str
    Optional description of the Workflow.
    enabled bool
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id str
    Unique identifier of the Workflow.
    name str
    Unique human-readable name of the Workflow.
    weight int
    Optional weight for workflow to specify it's priority in matching a request.
    accessRequestFixedDuration String
    Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRequestMaxDuration String
    Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty. If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
    accessRules String
    AccessRules is a list of access rules defining the resources this Workflow provides access to.
    approvalFlowId String
    Optional approval flow ID identifies an approval flow that linked to the workflow
    autoGrant Boolean
    Optional auto grant setting to automatically approve requests or not, defaults to false.

    Deprecated: auto_grant is deprecated, see docs for more info

    description String
    Optional description of the Workflow.
    enabled Boolean
    Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
    id String
    Unique identifier of the Workflow.
    name String
    Unique human-readable name of the Workflow.
    weight Number
    Optional weight for workflow to specify it's priority in matching a request.

    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.34.0 published on Sunday, Dec 7, 2025 by Piers Karsenbarg
      Meet Neo: Your AI Platform Teammate