Class StepFunctionsRestApi

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IResource, IRestApi, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.121Z") @Stability(Stable) public class StepFunctionsRestApi extends RestApi
Defines an API Gateway REST API with a Synchrounous Express State Machine as a proxy integration.

Example:

 Pass stateMachineDefinition = new Pass(this, "PassState");
 IStateMachine stateMachine = StateMachine.Builder.create(this, "StateMachine")
         .definition(stateMachineDefinition)
         .stateMachineType(StateMachineType.EXPRESS)
         .build();
 StepFunctionsRestApi.Builder.create(this, "StepFunctionsRestApi")
         .deploy(true)
         .stateMachine(stateMachine)
         .build();
 
  • Constructor Details

    • StepFunctionsRestApi

      protected StepFunctionsRestApi(software.amazon.jsii.JsiiObjectRef objRef)
    • StepFunctionsRestApi

      protected StepFunctionsRestApi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • StepFunctionsRestApi

      @Stability(Stable) public StepFunctionsRestApi(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull StepFunctionsRestApiProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.