Interface TaskProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TaskProps.Jsii$Proxy
- replaced by service integration specific classes (i.e. LambdaInvoke, SnsPublish)
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.*; import software.amazon.awscdk.core.*; Object parameters; IStepFunctionsTask stepFunctionsTask; TaskProps taskProps = TaskProps.builder() .task(stepFunctionsTask) // the properties below are optional .comment("comment") .inputPath("inputPath") .outputPath("outputPath") .parameters(Map.of( "parametersKey", parameters)) .resultPath("resultPath") .timeout(Duration.minutes(30)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTask
Deprecated.(deprecated) Actual task to be invoked in this workflow. -
getComment
Deprecated.(deprecated) An optional description for this state.Default: No comment
-
getInputPath
Deprecated.(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: $
-
getOutputPath
Deprecated.(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: $
-
getParameters
Deprecated.(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
-
getResultPath
Deprecated.(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: $
-
getTimeout
Deprecated.(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
-
builder
Deprecated.- Returns:
- a
TaskProps.Builder
ofTaskProps
-