Enum IntegrationPattern

java.lang.Object
java.lang.Enum<IntegrationPattern>
software.amazon.awscdk.services.stepfunctions.IntegrationPattern
All Implemented Interfaces:
Serializable, Comparable<IntegrationPattern>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.913Z") @Stability(Stable) public enum IntegrationPattern extends Enum<IntegrationPattern>
AWS Step Functions integrates with services directly in the Amazon States Language.

You can control these AWS services using service integration patterns:

Example:

 // Define a state machine with one Pass state
 StateMachine child = StateMachine.Builder.create(this, "ChildStateMachine")
         .definition(Chain.start(new Pass(this, "PassState")))
         .build();
 // Include the state machine in a Task state with callback pattern
 StepFunctionsStartExecution task = StepFunctionsStartExecution.Builder.create(this, "ChildTask")
         .stateMachine(child)
         .integrationPattern(IntegrationPattern.WAIT_FOR_TASK_TOKEN)
         .input(TaskInput.fromObject(Map.of(
                 "token", JsonPath.getTaskToken(),
                 "foo", "bar")))
         .name("MyExecutionName")
         .build();
 // Define a second state machine with the Task state above
 // Define a second state machine with the Task state above
 StateMachine.Builder.create(this, "ParentStateMachine")
         .definition(task)
         .build();
 

See Also: