Class StepFunctionsStateMachineAction

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.StepFunctionsStateMachineAction
All Implemented Interfaces:
IAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:41.798Z") @Stability(Experimental) public class StepFunctionsStateMachineAction extends software.amazon.jsii.JsiiObject implements IAction
(experimental) The action to put the record from an MQTT message to the Step Functions State Machine.

Example:

 StateMachine stateMachine = StateMachine.Builder.create(this, "SM")
         .definitionBody(DefinitionBody.fromChainable(Wait.Builder.create(this, "Hello").time(WaitTime.duration(Duration.seconds(10))).build()))
         .build();
 TopicRule.Builder.create(this, "TopicRule")
         .sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'"))
         .actions(List.of(
             new StepFunctionsStateMachineAction(stateMachine)))
         .build();
 
  • Constructor Details

    • StepFunctionsStateMachineAction

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

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

      @Stability(Experimental) public StepFunctionsStateMachineAction(@NotNull IStateMachine stateMachine, @Nullable StepFunctionsStateMachineActionProps props)
      Parameters:
      stateMachine - The Step Functions Start Machine which shoud be executed. This parameter is required.
      props - Optional properties to not use default.
    • StepFunctionsStateMachineAction

      @Stability(Experimental) public StepFunctionsStateMachineAction(@NotNull IStateMachine stateMachine)
      Parameters:
      stateMachine - The Step Functions Start Machine which shoud be executed. This parameter is required.