1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. Workflow
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi

    Accepted Permissions

    • Workers Scripts Read
    • Workers Scripts Write
    • Workers Tail Read

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleWorkflow = new cloudflare.Workflow("example_workflow", {
        accountId: "account_id",
        workflowName: "x",
        className: "x",
        scriptName: "x",
        concurrency: {
            limit: 1,
        },
        defaultRetention: {
            errorRetention: "5 minutes",
            successRetention: "5 minutes",
        },
        limits: {
            steps: 1,
        },
        schedules: [{
            cron: "x",
        }],
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_workflow = cloudflare.Workflow("example_workflow",
        account_id="account_id",
        workflow_name="x",
        class_name="x",
        script_name="x",
        concurrency={
            "limit": 1,
        },
        default_retention={
            "error_retention": "5 minutes",
            "success_retention": "5 minutes",
        },
        limits={
            "steps": 1,
        },
        schedules=[{
            "cron": "x",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewWorkflow(ctx, "example_workflow", &cloudflare.WorkflowArgs{
    			AccountId:    pulumi.String("account_id"),
    			WorkflowName: pulumi.String("x"),
    			ClassName:    pulumi.String("x"),
    			ScriptName:   pulumi.String("x"),
    			Concurrency: &cloudflare.WorkflowConcurrencyArgs{
    				Limit: pulumi.Int(1),
    			},
    			DefaultRetention: &cloudflare.WorkflowDefaultRetentionArgs{
    				ErrorRetention:   pulumi.Any("5 minutes"),
    				SuccessRetention: pulumi.Any("5 minutes"),
    			},
    			Limits: &cloudflare.WorkflowLimitsArgs{
    				Steps: pulumi.Int(1),
    			},
    			Schedules: cloudflare.WorkflowScheduleArray{
    				&cloudflare.WorkflowScheduleArgs{
    					Cron: pulumi.String("x"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleWorkflow = new Cloudflare.Workflow("example_workflow", new()
        {
            AccountId = "account_id",
            WorkflowName = "x",
            ClassName = "x",
            ScriptName = "x",
            Concurrency = new Cloudflare.Inputs.WorkflowConcurrencyArgs
            {
                Limit = 1,
            },
            DefaultRetention = new Cloudflare.Inputs.WorkflowDefaultRetentionArgs
            {
                ErrorRetention = "5 minutes",
                SuccessRetention = "5 minutes",
            },
            Limits = new Cloudflare.Inputs.WorkflowLimitsArgs
            {
                Steps = 1,
            },
            Schedules = new[]
            {
                new Cloudflare.Inputs.WorkflowScheduleArgs
                {
                    Cron = "x",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.Workflow;
    import com.pulumi.cloudflare.WorkflowArgs;
    import com.pulumi.cloudflare.inputs.WorkflowConcurrencyArgs;
    import com.pulumi.cloudflare.inputs.WorkflowDefaultRetentionArgs;
    import com.pulumi.cloudflare.inputs.WorkflowLimitsArgs;
    import com.pulumi.cloudflare.inputs.WorkflowScheduleArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var exampleWorkflow = new Workflow("exampleWorkflow", WorkflowArgs.builder()
                .accountId("account_id")
                .workflowName("x")
                .className("x")
                .scriptName("x")
                .concurrency(WorkflowConcurrencyArgs.builder()
                    .limit(1)
                    .build())
                .defaultRetention(WorkflowDefaultRetentionArgs.builder()
                    .errorRetention("5 minutes")
                    .successRetention("5 minutes")
                    .build())
                .limits(WorkflowLimitsArgs.builder()
                    .steps(1)
                    .build())
                .schedules(WorkflowScheduleArgs.builder()
                    .cron("x")
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleWorkflow:
        type: cloudflare:Workflow
        name: example_workflow
        properties:
          accountId: account_id
          workflowName: x
          className: x
          scriptName: x
          concurrency:
            limit: 1
          defaultRetention:
            errorRetention: 5 minutes
            successRetention: 5 minutes
          limits:
            steps: 1
          schedules:
            - cron: x
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    resource "cloudflare_workflow" "example_workflow" {
      lifecycle {
        create_before_destroy = true
      }
      account_id    = "account_id"
      workflow_name = "x"
      class_name    = "x"
      script_name   = "x"
      concurrency = {
        limit = 1
      }
      default_retention = {
        error_retention   = "5 minutes"
        success_retention = "5 minutes"
      }
      limits = {
        steps = 1
      }
      schedules {
        cron = "x"
      }
    }
    

    Create Workflow Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Workflow(name: string, args: WorkflowArgs, opts?: CustomResourceOptions);
    @overload
    def Workflow(resource_name: str,
                 args: WorkflowArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Workflow(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 account_id: Optional[str] = None,
                 class_name: Optional[str] = None,
                 script_name: Optional[str] = None,
                 workflow_name: Optional[str] = None,
                 concurrency: Optional[WorkflowConcurrencyArgs] = None,
                 default_retention: Optional[WorkflowDefaultRetentionArgs] = None,
                 limits: Optional[WorkflowLimitsArgs] = None,
                 schedules: Optional[Sequence[WorkflowScheduleArgs]] = None)
    func NewWorkflow(ctx *Context, name string, args WorkflowArgs, opts ...ResourceOption) (*Workflow, error)
    public Workflow(string name, WorkflowArgs args, CustomResourceOptions? opts = null)
    public Workflow(String name, WorkflowArgs args)
    public Workflow(String name, WorkflowArgs args, CustomResourceOptions options)
    
    type: cloudflare:Workflow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "cloudflare_workflow" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var workflowResource = new Cloudflare.Workflow("workflowResource", new()
    {
        AccountId = "string",
        ClassName = "string",
        ScriptName = "string",
        WorkflowName = "string",
        Concurrency = new Cloudflare.Inputs.WorkflowConcurrencyArgs
        {
            Limit = 0,
        },
        DefaultRetention = new Cloudflare.Inputs.WorkflowDefaultRetentionArgs
        {
            ErrorRetention = "any",
            SuccessRetention = "any",
        },
        Limits = new Cloudflare.Inputs.WorkflowLimitsArgs
        {
            Steps = 0,
        },
        Schedules = new[]
        {
            new Cloudflare.Inputs.WorkflowScheduleArgs
            {
                Cron = "string",
            },
        },
    });
    
    example, err := cloudflare.NewWorkflow(ctx, "workflowResource", &cloudflare.WorkflowArgs{
    	AccountId:    pulumi.String("string"),
    	ClassName:    pulumi.String("string"),
    	ScriptName:   pulumi.String("string"),
    	WorkflowName: pulumi.String("string"),
    	Concurrency: &cloudflare.WorkflowConcurrencyArgs{
    		Limit: pulumi.Int(0),
    	},
    	DefaultRetention: &cloudflare.WorkflowDefaultRetentionArgs{
    		ErrorRetention:   pulumi.Any("any"),
    		SuccessRetention: pulumi.Any("any"),
    	},
    	Limits: &cloudflare.WorkflowLimitsArgs{
    		Steps: pulumi.Int(0),
    	},
    	Schedules: cloudflare.WorkflowScheduleArray{
    		&cloudflare.WorkflowScheduleArgs{
    			Cron: pulumi.String("string"),
    		},
    	},
    })
    
    resource "cloudflare_workflow" "workflowResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_id    = "string"
      class_name    = "string"
      script_name   = "string"
      workflow_name = "string"
      concurrency = {
        limit = 0
      }
      default_retention = {
        error_retention   = "any"
        success_retention = "any"
      }
      limits = {
        steps = 0
      }
      schedules {
        cron = "string"
      }
    }
    
    var workflowResource = new Workflow("workflowResource", WorkflowArgs.builder()
        .accountId("string")
        .className("string")
        .scriptName("string")
        .workflowName("string")
        .concurrency(WorkflowConcurrencyArgs.builder()
            .limit(0)
            .build())
        .defaultRetention(WorkflowDefaultRetentionArgs.builder()
            .errorRetention("any")
            .successRetention("any")
            .build())
        .limits(WorkflowLimitsArgs.builder()
            .steps(0)
            .build())
        .schedules(WorkflowScheduleArgs.builder()
            .cron("string")
            .build())
        .build());
    
    workflow_resource = cloudflare.Workflow("workflowResource",
        account_id="string",
        class_name="string",
        script_name="string",
        workflow_name="string",
        concurrency={
            "limit": 0,
        },
        default_retention={
            "error_retention": "any",
            "success_retention": "any",
        },
        limits={
            "steps": 0,
        },
        schedules=[{
            "cron": "string",
        }])
    
    const workflowResource = new cloudflare.Workflow("workflowResource", {
        accountId: "string",
        className: "string",
        scriptName: "string",
        workflowName: "string",
        concurrency: {
            limit: 0,
        },
        defaultRetention: {
            errorRetention: "any",
            successRetention: "any",
        },
        limits: {
            steps: 0,
        },
        schedules: [{
            cron: "string",
        }],
    });
    
    type: cloudflare:Workflow
    properties:
        accountId: string
        className: string
        concurrency:
            limit: 0
        defaultRetention:
            errorRetention: any
            successRetention: any
        limits:
            steps: 0
        schedules:
            - cron: string
        scriptName: string
        workflowName: string
    

    Workflow Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Workflow resource accepts the following input properties:

    AccountId string
    ClassName string
    ScriptName string
    WorkflowName string
    Concurrency WorkflowConcurrency
    DefaultRetention WorkflowDefaultRetention
    Default retention applied to instances of this version when they do not set their own retention.
    Limits WorkflowLimits
    Schedules List<WorkflowSchedule>
    AccountId string
    ClassName string
    ScriptName string
    WorkflowName string
    Concurrency WorkflowConcurrencyArgs
    DefaultRetention WorkflowDefaultRetentionArgs
    Default retention applied to instances of this version when they do not set their own retention.
    Limits WorkflowLimitsArgs
    Schedules []WorkflowScheduleArgs
    account_id string
    class_name string
    script_name string
    workflow_name string
    concurrency object
    default_retention object
    Default retention applied to instances of this version when they do not set their own retention.
    limits object
    schedules list(object)
    accountId String
    className String
    scriptName String
    workflowName String
    concurrency WorkflowConcurrency
    defaultRetention WorkflowDefaultRetention
    Default retention applied to instances of this version when they do not set their own retention.
    limits WorkflowLimits
    schedules List<WorkflowSchedule>
    accountId string
    className string
    scriptName string
    workflowName string
    concurrency WorkflowConcurrency
    defaultRetention WorkflowDefaultRetention
    Default retention applied to instances of this version when they do not set their own retention.
    limits WorkflowLimits
    schedules WorkflowSchedule[]
    accountId String
    className String
    scriptName String
    workflowName String
    concurrency Property Map
    defaultRetention Property Map
    Default retention applied to instances of this version when they do not set their own retention.
    limits Property Map
    schedules List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Workflow resource produces the following output properties:

    CreatedOn string
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances Dictionary<string, double>
    IsDeleted double
    ModifiedOn string
    Name string
    ScriptDeleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    TerminatorRunning double
    TriggeredOn string
    VersionId string
    CreatedOn string
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances map[string]float64
    IsDeleted float64
    ModifiedOn string
    Name string
    ScriptDeleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    TerminatorRunning float64
    TriggeredOn string
    VersionId string
    created_on string
    id string
    The provider-assigned unique ID for this managed resource.
    instances map(number)
    is_deleted number
    modified_on string
    name string
    script_deleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    terminator_running number
    triggered_on string
    version_id string
    createdOn String
    id String
    The provider-assigned unique ID for this managed resource.
    instances Map<String,Double>
    isDeleted Double
    modifiedOn String
    name String
    scriptDeleted Boolean
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    terminatorRunning Double
    triggeredOn String
    versionId String
    createdOn string
    id string
    The provider-assigned unique ID for this managed resource.
    instances {[key: string]: number}
    isDeleted number
    modifiedOn string
    name string
    scriptDeleted boolean
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    terminatorRunning number
    triggeredOn string
    versionId string
    created_on str
    id str
    The provider-assigned unique ID for this managed resource.
    instances Mapping[str, float]
    is_deleted float
    modified_on str
    name str
    script_deleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    terminator_running float
    triggered_on str
    version_id str
    createdOn String
    id String
    The provider-assigned unique ID for this managed resource.
    instances Map<Number>
    isDeleted Number
    modifiedOn String
    name String
    scriptDeleted Boolean
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    terminatorRunning Number
    triggeredOn String
    versionId String

    Look up Existing Workflow Resource

    Get an existing Workflow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WorkflowState, opts?: CustomResourceOptions): Workflow
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            class_name: Optional[str] = None,
            concurrency: Optional[WorkflowConcurrencyArgs] = None,
            created_on: Optional[str] = None,
            default_retention: Optional[WorkflowDefaultRetentionArgs] = None,
            instances: Optional[Mapping[str, float]] = None,
            is_deleted: Optional[float] = None,
            limits: Optional[WorkflowLimitsArgs] = None,
            modified_on: Optional[str] = None,
            name: Optional[str] = None,
            schedules: Optional[Sequence[WorkflowScheduleArgs]] = None,
            script_deleted: Optional[bool] = None,
            script_name: Optional[str] = None,
            terminator_running: Optional[float] = None,
            triggered_on: Optional[str] = None,
            version_id: Optional[str] = None,
            workflow_name: Optional[str] = None) -> Workflow
    func GetWorkflow(ctx *Context, name string, id IDInput, state *WorkflowState, opts ...ResourceOption) (*Workflow, error)
    public static Workflow Get(string name, Input<string> id, WorkflowState? state, CustomResourceOptions? opts = null)
    public static Workflow get(String name, Output<String> id, WorkflowState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:Workflow    get:      id: ${id}
    import {
      to = cloudflare_workflow.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    ClassName string
    Concurrency WorkflowConcurrency
    CreatedOn string
    DefaultRetention WorkflowDefaultRetention
    Default retention applied to instances of this version when they do not set their own retention.
    Instances Dictionary<string, double>
    IsDeleted double
    Limits WorkflowLimits
    ModifiedOn string
    Name string
    Schedules List<WorkflowSchedule>
    ScriptDeleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    ScriptName string
    TerminatorRunning double
    TriggeredOn string
    VersionId string
    WorkflowName string
    AccountId string
    ClassName string
    Concurrency WorkflowConcurrencyArgs
    CreatedOn string
    DefaultRetention WorkflowDefaultRetentionArgs
    Default retention applied to instances of this version when they do not set their own retention.
    Instances map[string]float64
    IsDeleted float64
    Limits WorkflowLimitsArgs
    ModifiedOn string
    Name string
    Schedules []WorkflowScheduleArgs
    ScriptDeleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    ScriptName string
    TerminatorRunning float64
    TriggeredOn string
    VersionId string
    WorkflowName string
    account_id string
    class_name string
    concurrency object
    created_on string
    default_retention object
    Default retention applied to instances of this version when they do not set their own retention.
    instances map(number)
    is_deleted number
    limits object
    modified_on string
    name string
    schedules list(object)
    script_deleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    script_name string
    terminator_running number
    triggered_on string
    version_id string
    workflow_name string
    accountId String
    className String
    concurrency WorkflowConcurrency
    createdOn String
    defaultRetention WorkflowDefaultRetention
    Default retention applied to instances of this version when they do not set their own retention.
    instances Map<String,Double>
    isDeleted Double
    limits WorkflowLimits
    modifiedOn String
    name String
    schedules List<WorkflowSchedule>
    scriptDeleted Boolean
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    scriptName String
    terminatorRunning Double
    triggeredOn String
    versionId String
    workflowName String
    accountId string
    className string
    concurrency WorkflowConcurrency
    createdOn string
    defaultRetention WorkflowDefaultRetention
    Default retention applied to instances of this version when they do not set their own retention.
    instances {[key: string]: number}
    isDeleted number
    limits WorkflowLimits
    modifiedOn string
    name string
    schedules WorkflowSchedule[]
    scriptDeleted boolean
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    scriptName string
    terminatorRunning number
    triggeredOn string
    versionId string
    workflowName string
    account_id str
    class_name str
    concurrency WorkflowConcurrencyArgs
    created_on str
    default_retention WorkflowDefaultRetentionArgs
    Default retention applied to instances of this version when they do not set their own retention.
    instances Mapping[str, float]
    is_deleted float
    limits WorkflowLimitsArgs
    modified_on str
    name str
    schedules Sequence[WorkflowScheduleArgs]
    script_deleted bool
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    script_name str
    terminator_running float
    triggered_on str
    version_id str
    workflow_name str
    accountId String
    className String
    concurrency Property Map
    createdOn String
    defaultRetention Property Map
    Default retention applied to instances of this version when they do not set their own retention.
    instances Map<Number>
    isDeleted Number
    limits Property Map
    modifiedOn String
    name String
    schedules List<Property Map>
    scriptDeleted Boolean
    Whether the bound Worker was deleted, leaving this Workflow inactive.
    scriptName String
    terminatorRunning Number
    triggeredOn String
    versionId String
    workflowName String

    Supporting Types

    WorkflowConcurrency, WorkflowConcurrencyArgs

    Limit int
    Maximum number of instances of this workflow that can run concurrently. Additional instances are queued and started as running instances complete. Must not exceed the account concurrency limit.
    Limit int
    Maximum number of instances of this workflow that can run concurrently. Additional instances are queued and started as running instances complete. Must not exceed the account concurrency limit.
    limit number
    Maximum number of instances of this workflow that can run concurrently. Additional instances are queued and started as running instances complete. Must not exceed the account concurrency limit.
    limit Integer
    Maximum number of instances of this workflow that can run concurrently. Additional instances are queued and started as running instances complete. Must not exceed the account concurrency limit.
    limit number
    Maximum number of instances of this workflow that can run concurrently. Additional instances are queued and started as running instances complete. Must not exceed the account concurrency limit.
    limit int
    Maximum number of instances of this workflow that can run concurrently. Additional instances are queued and started as running instances complete. Must not exceed the account concurrency limit.
    limit Number
    Maximum number of instances of this workflow that can run concurrently. Additional instances are queued and started as running instances complete. Must not exceed the account concurrency limit.

    WorkflowDefaultRetention, WorkflowDefaultRetentionArgs

    ErrorRetention object
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    SuccessRetention object
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    ErrorRetention interface{}
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    SuccessRetention interface{}
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    error_retention any
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    success_retention any
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    errorRetention Object
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    successRetention Object
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    errorRetention any
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    successRetention any
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    error_retention Any
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    success_retention Any
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    errorRetention Any
    Specifies the duration in milliseconds or as a string like '5 minutes'.
    successRetention Any
    Specifies the duration in milliseconds or as a string like '5 minutes'.

    WorkflowLimits, WorkflowLimitsArgs

    Steps int
    Steps int
    steps number
    steps Integer
    steps number
    steps int
    steps Number

    WorkflowSchedule, WorkflowScheduleArgs

    Cron string
    Cron string
    cron string
    cron String
    cron string
    cron str
    cron String

    Import

    $ pulumi import cloudflare:index/workflow:Workflow example '<account_id>/<workflow_name>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo cloudflare logo
    Viewing docs for Cloudflare v6.23.1
    published on Wednesday, Oct 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial