TaskProps¶
-
class
aws_cdk.aws_stepfunctions.
TaskProps
(*, task, comment=None, input_path=None, output_path=None, parameters=None, result_path=None, timeout=None)¶ Bases:
object
(deprecated) Props that are common to all tasks.
- Parameters
task (
IStepFunctionsTask
) – (deprecated) Actual task to be invoked in this workflow.comment (
Optional
[str
]) – (deprecated) An optional description for this state. Default: No commentinput_path (
Optional
[str
]) – (deprecated) JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $output_path (
Optional
[str
]) – (deprecated) JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $parameters (
Optional
[Mapping
[str
,Any
]]) – (deprecated) Parameters to invoke the task with. It is not recommended to use this field. The object that is passed in thetask
property will take care of returning the right values for theParameters
field in the Step Functions definition. The various classes that implementIStepFunctionsTask
will take a properties which make sense for the task type. For example, forInvokeFunction
the field that populates theparameters
field will be calledpayload
, and for thePublishToTopic
theparameters
field will be populated via a combination of the referenced topic, subject and message. If passed anyway, the keys in this map will override the parameters returned by the task object. Default: - Use the parameters implied by thetask
propertyresult_path (
Optional
[str
]) – (deprecated) JSONPath expression to indicate where to inject the state’s output. May also be the special value JsonPath.DISCARD, which will cause the state’s input to become its output. Default: $timeout (
Optional
[Duration
]) – (deprecated) Maximum run time of this state. If the state takes longer than this amount of time to complete, a ‘Timeout’ error is raised. Default: 60
- Deprecated
replaced by service integration specific classes (i.e. LambdaInvoke, SnsPublish)
- Stability
deprecated
Attributes
-
comment
¶ (deprecated) An optional description for this state.
- Default
No comment
- Stability
deprecated
- Return type
Optional
[str
]
-
input_path
¶ (deprecated) JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
- Default
$
- Stability
deprecated
- Return type
Optional
[str
]
-
output_path
¶ (deprecated) JSONPath expression to select part of the state to be the output to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
- Default
$
- Stability
deprecated
- Return type
Optional
[str
]
-
parameters
¶ (deprecated) Parameters to invoke the task with.
It is not recommended to use this field. The object that is passed in the
task
property will take care of returning the right values for theParameters
field in the Step Functions definition.The various classes that implement
IStepFunctionsTask
will take a properties which make sense for the task type. For example, forInvokeFunction
the field that populates theparameters
field will be calledpayload
, and for thePublishToTopic
theparameters
field will be populated via a combination of the referenced topic, subject and message.If passed anyway, the keys in this map will override the parameters returned by the task object.
- Default
Use the parameters implied by the
task
property
- See
- Stability
deprecated
- Return type
Optional
[Mapping
[str
,Any
]]
-
result_path
¶ (deprecated) JSONPath expression to indicate where to inject the state’s output.
May also be the special value JsonPath.DISCARD, which will cause the state’s input to become its output.
- Default
$
- Stability
deprecated
- Return type
Optional
[str
]
-
task
¶ (deprecated) Actual task to be invoked in this workflow.
- Stability
deprecated
- Return type