CfnWorkflowProps Struct
Properties for defining a CfnWorkflow.
| Source | |
|---|---|
| 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';
declare const defaultRunProperties: any;
declare const tags: any;
const cfnWorkflowProps: glue.CfnWorkflowProps = {
defaultRunProperties: defaultRunProperties,
description: 'description',
maxConcurrentRuns: 123,
name: 'name',
tags: tags,
};
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
# default_run_properties: Any
# tags: Any
cfn_workflow_props = glue.CfnWorkflowProps(
default_run_properties=default_run_properties,
description="description",
max_concurrent_runs=123,
name="name",
tags=tags
)
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.*;
Object defaultRunProperties;
Object tags;
CfnWorkflowProps cfnWorkflowProps = CfnWorkflowProps.builder()
.defaultRunProperties(defaultRunProperties)
.description("description")
.maxConcurrentRuns(123)
.name("name")
.tags(tags)
.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 defaultRunProperties;
var tags;
var cfnWorkflowProps = new CfnWorkflowProps {
DefaultRunProperties = defaultRunProperties,
Description = "description",
MaxConcurrentRuns = 123,
Name = "name",
Tags = tags
};
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"
var defaultRunProperties interface{}
var tags interface{}
cfnWorkflowProps := &CfnWorkflowProps{
DefaultRunProperties: defaultRunProperties,
Description: jsii.String("description"),
MaxConcurrentRuns: jsii.Number(123),
Name: jsii.String("name"),
Tags: tags,
}
Properties
defaultRunPropertiesoptionalanydefault_run_propertiesoptionalAnydefaultRunPropertiesoptionalObjectDefaultRunPropertiesoptionalobjectDefaultRunPropertiesoptionalinterface{} #A collection of properties to be used as part of each execution of the workflow.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the workflow.
maxConcurrentRunsoptionalnumbermax_concurrent_runsoptionalint | floatmaxConcurrentRunsoptionalNumberMaxConcurrentRunsoptionaldoubleMaxConcurrentRunsoptional*float64 #You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs.
If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
The name of the workflow representing the flow.
The tags to use with this workflow.