WorkflowAttributes Struct
Properties for importing a Workflow using its attributes.
| 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 workflowAttributes: glue.WorkflowAttributes = {
workflowName: 'workflowName',
// the properties below are optional
workflowArn: 'workflowArn',
};
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_attributes = glue.WorkflowAttributes(
workflow_name="workflowName",
# the properties below are optional
workflow_arn="workflowArn"
)
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.*;
WorkflowAttributes workflowAttributes = WorkflowAttributes.builder()
.workflowName("workflowName")
// the properties below are optional
.workflowArn("workflowArn")
.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 workflowAttributes = new WorkflowAttributes {
WorkflowName = "workflowName",
// the properties below are optional
WorkflowArn = "workflowArn"
};
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"
workflowAttributes := &WorkflowAttributes{
WorkflowName: jsii.String("workflowName"),
// the properties below are optional
WorkflowArn: jsii.String("workflowArn"),
}
Properties
workflowArnoptionalstringworkflow_arnoptionalstrworkflowArnoptionalStringWorkflowArnoptionalstringWorkflowArnoptional*string #The ARN of the workflow to import.
Default: derived from the workflow name
workflowNamestringworkflow_namestrworkflowNameStringWorkflowNamestringWorkflowName*string required #The name of the workflow to import.