Class WorkflowBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.glue.WorkflowBase
- All Implemented Interfaces:
IEnvironmentAware,IResource,IWorkflow,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
- Direct Known Subclasses:
Workflow
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-17T14:54:05.121Z")
@Stability(Stable)
public abstract class WorkflowBase
extends Resource
implements IWorkflow
Base abstract class for Workflow.
- See Also:
-
Nested Class Summary
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.IWorkflow
IWorkflow.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWorkflowBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedWorkflowBase(software.amazon.jsii.JsiiObjectRef objRef) protectedWorkflowBase(software.constructs.Construct scope, String id) protectedWorkflowBase(software.constructs.Construct scope, String id, ResourceProps props) -
Method Summary
Modifier and TypeMethodDescriptionaddConditionalTrigger(String id, ConditionalTriggerOptions options) Add a conditional (predicate-based) trigger to the workflow.addEventTrigger(String id, EventTriggerOptions options) Add an EventBridge event-based trigger to the workflow.addOnDemandTrigger(String id, OnDemandTriggerOptions options) Add an on-demand trigger to the workflow.addScheduledTrigger(String id, ScheduledTriggerOptions options) Add a scheduled trigger to the workflow.protected StringbuildWorkflowArn(software.constructs.Construct scope, String workflowName) protected static StringextractNameFromArn(software.constructs.Construct scope, String workflowArn) Extract workflowName from arn.abstract StringThe ARN of the workflow.abstract StringThe name of the workflow.Methods inherited from class software.amazon.awscdk.Resource
applyCrossStackReferenceStrength, applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods 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
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
WorkflowBase
protected WorkflowBase(software.amazon.jsii.JsiiObjectRef objRef) -
WorkflowBase
protected WorkflowBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
WorkflowBase
@Stability(Stable) protected WorkflowBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
WorkflowBase
@Stability(Stable) protected WorkflowBase(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
extractNameFromArn
@Stability(Stable) @NotNull protected static String extractNameFromArn(@NotNull software.constructs.Construct scope, @NotNull String workflowArn) Extract workflowName from arn.- Parameters:
scope- This parameter is required.workflowArn- This parameter is required.
-
addConditionalTrigger
@Stability(Stable) @NotNull public ITriggerRef addConditionalTrigger(@NotNull String id, @NotNull ConditionalTriggerOptions options) Add a conditional (predicate-based) trigger to the workflow.- Specified by:
addConditionalTriggerin interfaceIWorkflow- Parameters:
id- The id of the trigger. This parameter is required.options- Additional options for the trigger. This parameter is required.- Returns:
- a reference to the created trigger.
-
addEventTrigger
@Stability(Stable) @NotNull public ITriggerRef addEventTrigger(@NotNull String id, @NotNull EventTriggerOptions options) Add an EventBridge event-based trigger to the workflow.- Specified by:
addEventTriggerin interfaceIWorkflow- Parameters:
id- The id of the trigger. This parameter is required.options- Additional options for the trigger. This parameter is required.- Returns:
- a reference to the created trigger.
-
addOnDemandTrigger
@Stability(Stable) @NotNull public ITriggerRef addOnDemandTrigger(@NotNull String id, @NotNull OnDemandTriggerOptions options) Add an on-demand trigger to the workflow.- Specified by:
addOnDemandTriggerin interfaceIWorkflow- Parameters:
id- The id of the trigger. This parameter is required.options- Additional options for the trigger. This parameter is required.- Returns:
- a reference to the created trigger.
-
addScheduledTrigger
@Stability(Stable) @NotNull public ITriggerRef addScheduledTrigger(@NotNull String id, @NotNull ScheduledTriggerOptions options) Add a scheduled trigger to the workflow.- Specified by:
addScheduledTriggerin interfaceIWorkflow- Parameters:
id- The id of the trigger. This parameter is required.options- Additional options for the trigger, including the schedule. This parameter is required.- Returns:
- a reference to the created trigger.
-
buildWorkflowArn
@Stability(Stable) @NotNull protected String buildWorkflowArn(@NotNull software.constructs.Construct scope, @NotNull String workflowName) - Parameters:
scope- This parameter is required.workflowName- This parameter is required.
-
getWorkflowArn
The ARN of the workflow.- Specified by:
getWorkflowArnin interfaceIWorkflow
-
getWorkflowName
The name of the workflow.- Specified by:
getWorkflowNamein interfaceIWorkflow
-