AWS Step Functions¶
AWS Step Functions Task state.
-
class
rhodes.states.services.stepfunctions.AwsStepFunctions(title, *, Comment=None, StateMachineArn=None, Input=None, Next=None, End=None, InputPath=JsonPath(path=Root()), OutputPath=JsonPath(path=Root()), ResultPath=JsonPath(path=Root()), Retry=None, Catch=None, TimeoutSeconds=None, HeartbeatSeconds=None, Pattern=<IntegrationPattern.REQUEST_RESPONSE: ''>)[source]¶ Bases:
rhodes.states.StateStart a state machine execution.
See service docs for more details.
Parameters: - StateMachineArn (
JsonPath,AWSHelperFn, str, orEnum) – The AWS Step Functions state machine to invoke - Input (
Parameters,JsonPath,AWSHelperFn, dict, str, orEnum) – Data to provide to the state machine as input - title (str) – Name of state in state machine
- Comment (str) – Human-readable description of the state (default:
'') - Next – The state that will follow this state
- End (bool) – This state is a terminal state
- InputPath (JsonPath) – The portion of the state input data to be used as input for the state (default:
JsonPath(path=Root())) - OutputPath (JsonPath) – The portion of the state input data to be passed to the next state (default:
JsonPath(path=Root())) - ResultPath (JsonPath) – Where in the state input data to place the results of this state (default:
JsonPath(path=Root())) - Retry –
- Catch –
- TimeoutSeconds (int) – Maximum time that this state is allowed to run
- HeartbeatSeconds (int) – Maximum time allowed between heartbeat responses from state
- Pattern (IntegrationPattern) – Step Functions integration pattern (default:
<IntegrationPattern.REQUEST_RESPONSE: ''>)
-
end()¶ Make this state a terminal state.
-
member_of= None¶
-
promote(path)¶ Add a
Passstate after this state that promotes a path in the input to this state’sResultPath.Path must start with a path relative this state’s
ResultPathas indicated by a@.prefix.Parameters: path ( Union[str,Enum,JSONPath,JsonPath]) – Path to promoteReturn type: Pass
-
then(next_state)¶ Set the next state in this state machine.
- StateMachineArn (