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-06T14:43:29.583Z")
@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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forStepFunctionsStateMachineAction
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.alpha.IAction
IAction.Jsii$Default, IAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionStepFunctionsStateMachineAction
(IStateMachine stateMachine) StepFunctionsStateMachineAction
(IStateMachine stateMachine, StepFunctionsStateMachineActionProps props) protected
StepFunctionsStateMachineAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
StepFunctionsStateMachineAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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.
-