@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:43.504Z")
public interface StateMachineProps
Example:
import software.amazon.awscdk.services.stepfunctions.*; Pipeline pipeline = new Pipeline(this, "MyPipeline"); Artifact inputArtifact = new Artifact(); Pass startState = new Pass(this, "StartState"); StateMachine simpleStateMachine = StateMachine.Builder.create(this, "SimpleStateMachine") .definition(startState) .build(); StepFunctionInvokeAction stepFunctionAction = StepFunctionInvokeAction.Builder.create() .actionName("Invoke") .stateMachine(simpleStateMachine) .stateMachineInput(StateMachineInput.filePath(inputArtifact.atPath("assets/input.json"))) .build(); pipeline.addStage(StageOptions.builder() .stageName("StepFunctions") .actions(List.of(stepFunctionAction)) .build());
Modifier and Type | Interface and Description |
---|---|
static class |
StateMachineProps.Builder
A builder for
StateMachineProps |
static class |
StateMachineProps.Jsii$Proxy
An implementation for
StateMachineProps |
Modifier and Type | Method and Description |
---|---|
static StateMachineProps.Builder |
builder() |
IChainable |
getDefinition()
Definition for this state machine.
|
default LogOptions |
getLogs()
Defines what execution history events are logged and where they are logged.
|
default IRole |
getRole()
The execution role for the state machine service.
|
default java.lang.String |
getStateMachineName()
A name for the state machine.
|
default StateMachineType |
getStateMachineType()
Type of the state machine.
|
default Duration |
getTimeout()
Maximum run time for this state machine.
|
default java.lang.Boolean |
getTracingEnabled()
Specifies whether Amazon X-Ray tracing is enabled for this state machine.
|
IChainable getDefinition()
default LogOptions getLogs()
Default: No logging
default IRole getRole()
Default: A role is automatically created
default java.lang.String getStateMachineName()
Default: A name is automatically generated
default StateMachineType getStateMachineType()
Default: StateMachineType.STANDARD
default Duration getTimeout()
Default: No timeout
default java.lang.Boolean getTracingEnabled()
Default: false
static StateMachineProps.Builder builder()
StateMachineProps.Builder
of StateMachineProps