@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:43.515Z")
@Deprecated
public interface TaskProps
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();
Modifier and Type | Interface and Description |
---|---|
static class |
TaskProps.Builder
Deprecated.
|
static class |
TaskProps.Jsii$Proxy
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TaskProps.Builder |
builder()
Deprecated.
|
default java.lang.String |
getComment()
Deprecated.
|
default java.lang.String |
getInputPath()
Deprecated.
|
default java.lang.String |
getOutputPath()
Deprecated.
|
default java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Deprecated.
|
default java.lang.String |
getResultPath()
Deprecated.
|
IStepFunctionsTask |
getTask()
Deprecated.
|
default Duration |
getTimeout()
Deprecated.
|
@Deprecated IStepFunctionsTask getTask()
@Deprecated default java.lang.String getComment()
Default: No comment
@Deprecated default java.lang.String getInputPath()
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: $
@Deprecated default java.lang.String getOutputPath()
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: $
@Deprecated default java.util.Map<java.lang.String,java.lang.Object> getParameters()
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 the
Parameters
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, for
InvokeFunction
the field that populates the parameters
field will be
called payload
, and for the PublishToTopic
the parameters
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
@Deprecated default java.lang.String getResultPath()
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: $
@Deprecated default Duration getTimeout()
If the state takes longer than this amount of time to complete, a 'Timeout' error is raised.
Default: 60
@Deprecated static TaskProps.Builder builder()
TaskProps.Builder
of TaskProps