@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:54.373Z") public interface StageOptions extends StageProps
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 |
StageOptions.Builder
A builder for
StageOptions |
static class |
StageOptions.Jsii$Proxy
An implementation for
StageOptions |
Modifier and Type | Method and Description |
---|---|
static StageOptions.Builder |
builder() |
default StagePlacement |
getPlacement() |
getActions, getStageName, getTransitionDisabledReason, getTransitionToEnabled
default StagePlacement getPlacement()
static StageOptions.Builder builder()
builder
in interface StageProps
StageOptions.Builder
of StageOptions