Modifier and Type | Method and Description |
---|---|
Task |
build()
Deprecated.
|
Task.Builder |
comment(java.lang.String comment)
Deprecated.
|
static Task.Builder |
create(software.constructs.Construct scope,
java.lang.String id)
Deprecated.
|
Task.Builder |
inputPath(java.lang.String inputPath)
Deprecated.
|
Task.Builder |
outputPath(java.lang.String outputPath)
Deprecated.
|
Task.Builder |
parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Deprecated.
|
Task.Builder |
resultPath(java.lang.String resultPath)
Deprecated.
|
Task.Builder |
task(IStepFunctionsTask task)
Deprecated.
|
Task.Builder |
timeout(Duration timeout)
Deprecated.
|
@Deprecated public static Task.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.Task.Builder
.@Deprecated public Task.Builder task(IStepFunctionsTask task)
task
- Actual task to be invoked in this workflow. This parameter is required.this
@Deprecated public Task.Builder comment(java.lang.String comment)
Default: No comment
comment
- An optional description for this state. This parameter is required.this
@Deprecated public Task.Builder inputPath(java.lang.String inputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: $
inputPath
- JSONPath expression to select part of the state to be the input to this state. This parameter is required.this
@Deprecated public Task.Builder outputPath(java.lang.String outputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: $
outputPath
- JSONPath expression to select part of the state to be the output to this state. This parameter is required.this
@Deprecated public Task.Builder parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
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
parameters
- Parameters to invoke the task with. This parameter is required.this
@Deprecated public Task.Builder resultPath(java.lang.String resultPath)
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: $
resultPath
- JSONPath expression to indicate where to inject the state's output. This parameter is required.this
@Deprecated public Task.Builder timeout(Duration timeout)
If the state takes longer than this amount of time to complete, a 'Timeout' error is raised.
Default: 60
timeout
- Maximum run time of this state. This parameter is required.this
@Deprecated public Task build()