WorkflowProps Struct
Properties for defining a Workflow.
| Source | aws-glue/lib/triggers/workflow.ts |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue
workflow_props = glue.WorkflowProps(
default_run_properties={
"default_run_properties_key": "defaultRunProperties"
},
description="description",
max_concurrent_runs=123,
workflow_name="workflowName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
WorkflowProps workflowProps = WorkflowProps.builder()
.defaultRunProperties(Map.of(
"defaultRunPropertiesKey", "defaultRunProperties"))
.description("description")
.maxConcurrentRuns(123)
.workflowName("workflowName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var workflowProps = new WorkflowProps {
DefaultRunProperties = new Dictionary<string, string> {
{ "defaultRunPropertiesKey", "defaultRunProperties" }
},
Description = "description",
MaxConcurrentRuns = 123,
WorkflowName = "workflowName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
workflowProps := &WorkflowProps{
DefaultRunProperties: map[string]*string{
"defaultRunPropertiesKey": jsii.String("defaultRunProperties"),
},
Description: jsii.String("description"),
MaxConcurrentRuns: jsii.Number(123),
WorkflowName: jsii.String("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