class documentation
class LambdaStep(Task): (source)
Constructor: LambdaStep(state_id, wait_for_callback, **kwargs)
Creates a Task state to invoke an AWS Lambda function. See Invoke Lambda with Step Functions for more details.
| Method | __init__ |
state_id (str): State name whose length must be less than or equal to 128 unicode characters. State names must be unique within the scope of the whole state machine. wait_for_callback(bool, optional): Boolean value set to ... |
Inherited from Task:
| Method | allowed |
Undocumented |
Inherited from State (via Task):
| Method | __repr__ |
Undocumented |
| Method | accept |
Undocumented |
| Method | add |
Add a catcher or a list of catchers to the tail end of the list of catchers for the state. See Error handling in Step Functions for more details. |
| Method | add |
Add a retrier or a list of retriers to the tail end of the list of retriers for the state. See Error handling in Step Functions for more details. |
| Method | next |
Specify the next state or chain to transition to. |
| Method | output |
Get the placeholder collection for the State's output. |
| Method | to |
Undocumented |
| Method | update |
Update 'parameters' field in the state, if supported. |
| Instance Variable | catches |
Undocumented |
| Instance Variable | in |
Undocumented |
| Instance Variable | next |
Undocumented |
| Instance Variable | output |
Undocumented |
| Instance Variable | retries |
Undocumented |
| Instance Variable | state |
Undocumented |
| Instance Variable | state |
Undocumented |
| Instance Variable | step |
Undocumented |
Inherited from Block (via Task, State):
| Method | __getattr__ |
Undocumented |
| Method | __str__ |
Undocumented |
| Method | is |
Undocumented |
| Method | to |
Serialize to a JSON formatted string. |
| Instance Variable | fields |
Undocumented |
| Method | _replace |
Undocumented |
- Args:
- state_id (str): State name whose length must be less than or equal to 128 unicode characters. State names must be unique within the scope of the whole state machine.
wait_for_callback(bool, optional): Boolean value set to
Trueif the Task state should wait for callback to resume the operation. (default: False) timeout_seconds (int, optional): Positive integer specifying timeout for the state in seconds. If the state runs longer than the specified timeout, then the interpreter fails the state with a 'States.Timeout' Error Name. (default: 60) timeout_seconds_path (str, optional): Path specifying the state's timeout value in seconds from the state input. When resolved, the path must select a field whose value is a positive integer. heartbeat_seconds (int, optional): Positive integer specifying heartbeat timeout for the state in seconds. This value should be lower than the one specified for 'timeout_seconds'. If more time than the specified heartbeat elapses between heartbeats from the task, then the interpreter fails the state with aStates.TimeoutError Name. heartbeat_seconds_path (str, optional): Path specifying the state's heartbeat value in seconds from the state input. When resolved, the path must select a field whose value is a positive integer. comment (str, optional): Human-readable comment or description. (default: None) input_path (str, optional): Path applied to the state’s raw input to select some or all of it; that selection is used by the state. (default: '$') parameters (dict, optional): The value of this field becomes the effective input for the state. result_path (str, optional): Path specifying the raw input’s combination with or replacement by the state’s result. (default: '$') output_path (str, optional): Path applied to the state’s output after the application of 'result_path', producing the effective output which serves as the raw input for the next state. (default: '$')