Skip to content
v2.274.0

WorkflowProps Struct ​

Properties for defining a Workflow.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const workflowProps: glue.WorkflowProps = {
  defaultRunProperties: {
    defaultRunPropertiesKey: 'defaultRunProperties',
  },
  description: 'description',
  maxConcurrentRuns: 123,
  workflowName: 'workflowName',
};

Properties ​

defaultRunPropertiesoptional{ [key: string]: string }default_run_propertiesoptionaltyping.Mapping[str, str]defaultRunPropertiesoptionalMap<String, String>DefaultRunPropertiesoptionalIDictionary<string, string>DefaultRunPropertiesoptional*map[string]*string#
A map of properties to use when this workflow is executed.

Default: no default run properties

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description of the workflow.

Default: no description

maxConcurrentRunsoptionalnumbermax_concurrent_runsoptionalint | floatmaxConcurrentRunsoptionalNumberMaxConcurrentRunsoptionaldoubleMaxConcurrentRunsoptional*float64#
The maximum number of concurrent runs allowed for the workflow.

Default: no limit

workflowNameoptionalstringworkflow_nameoptionalstrworkflowNameoptionalStringWorkflowNameoptionalstringWorkflowNameoptional*string#
Name of the workflow.

Default: a name will be generated