Class Workflow
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.glue.alpha.WorkflowBase
software.amazon.awscdk.services.glue.alpha.Workflow
- All Implemented Interfaces:
IResource,IWorkflow,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:50.160Z")
@Stability(Experimental)
public class Workflow
extends WorkflowBase
(experimental) This module defines a construct for creating and managing AWS Glue Workflows and Triggers.
AWS Glue Workflows are orchestration services that allow you to create, manage, and monitor complex extract, transform, and load (ETL) activities involving multiple crawlers, jobs, and triggers. Workflows are designed to allow you to manage interdependent jobs and crawlers as a single unit, making it easier to orchestrate and monitor complex ETL pipelines.
Triggers are used to initiate an AWS Glue Workflow. You can configure different types of triggers, such as on-demand, scheduled, event-based, or conditional triggers, to start your Workflow based on specific conditions or events.
Example:
// 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.alpha.*;
Workflow workflow = Workflow.Builder.create(this, "MyWorkflow")
.defaultRunProperties(Map.of(
"defaultRunPropertiesKey", "defaultRunProperties"))
.description("description")
.maxConcurrentRuns(123)
.workflowName("workflowName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forWorkflow.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.glue.alpha.IWorkflow
IWorkflow.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWorkflow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedWorkflow(software.amazon.jsii.JsiiObjectRef objRef) Workflow(software.constructs.Construct scope, String id, WorkflowProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IWorkflowfromWorkflowArn(software.constructs.Construct scope, String id, String workflowArn) (experimental) Import an workflow from it's name.static IWorkflowfromWorkflowAttributes(software.constructs.Construct scope, String id, WorkflowAttributes attrs) (experimental) Import an existing workflow.static IWorkflowfromWorkflowName(software.constructs.Construct scope, String id, String workflowName) (experimental) Import a workflow from its name.(experimental) The ARN of the workflow.(experimental) The name of the workflow.Methods inherited from class software.amazon.awscdk.services.glue.alpha.WorkflowBase
addConditionalTrigger, addCustomScheduledTrigger, addDailyScheduledTrigger, addNotifyEventTrigger, addOnDemandTrigger, addWeeklyScheduledTrigger, buildWorkflowArn, extractNameFromArnMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
Workflow
protected Workflow(software.amazon.jsii.JsiiObjectRef objRef) -
Workflow
protected Workflow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Workflow
@Stability(Experimental) public Workflow(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable WorkflowProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
Workflow
@Stability(Experimental) public Workflow(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
fromWorkflowArn
@Stability(Experimental) @NotNull public static IWorkflow fromWorkflowArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String workflowArn) (experimental) Import an workflow from it's name.- Parameters:
scope- This parameter is required.id- This parameter is required.workflowArn- This parameter is required.
-
fromWorkflowAttributes
@Stability(Experimental) @NotNull public static IWorkflow fromWorkflowAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull WorkflowAttributes attrs) (experimental) Import an existing workflow.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
fromWorkflowName
@Stability(Experimental) @NotNull public static IWorkflow fromWorkflowName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String workflowName) (experimental) Import a workflow from its name.- Parameters:
scope- This parameter is required.id- This parameter is required.workflowName- This parameter is required.
-
getWorkflowArn
(experimental) The ARN of the workflow.- Specified by:
getWorkflowArnin interfaceIWorkflow- Specified by:
getWorkflowArnin classWorkflowBase
-
getWorkflowName
(experimental) The name of the workflow.- Specified by:
getWorkflowNamein interfaceIWorkflow- Specified by:
getWorkflowNamein classWorkflowBase
-