TaskInput¶
-
class
aws_cdk.aws_stepfunctions.
TaskInput
(*args: Any, **kwargs)¶ Bases:
object
Type union for task classes that accept multiple types of payload.
Attributes
-
value
¶ payload for the corresponding input type.
It can be a JSON-encoded object, context, data, etc.
- Return type
Any
Static Methods
-
classmethod
from_context_at
(path)¶ Use a part of the task context as task input.
Use this when you want to use a subobject or string from the current task context as complete payload to a task.
- Parameters
path (
str
) –- Return type
-
classmethod
from_data_at
(path)¶ Use a part of the execution data as task input.
Use this when you want to use a subobject or string from the current state machine execution as complete payload to a task.
- Parameters
path (
str
) –- Return type
-
classmethod
from_json_path_at
(path)¶ Use a part of the execution data or task context as task input.
Use this when you want to use a subobject or string from the current state machine execution or the current task context as complete payload to a task.
- Parameters
path (
str
) –- Return type
-
classmethod
from_object
(obj)¶ Use an object as task input.
This object may contain Data and Context fields as object values, if desired.
- Parameters
obj (
Mapping
[str
,Any
]) –- Return type
-