@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T09:30:50.884Z") @Stability(value=Stable) public interface TaskStateBaseProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; import software.amazon.awscdk.services.stepfunctions.*; Object resultSelector; TaskStateBaseProps taskStateBaseProps = TaskStateBaseProps.builder() .comment("comment") .heartbeat(Duration.minutes(30)) .inputPath("inputPath") .integrationPattern(IntegrationPattern.REQUEST_RESPONSE) .outputPath("outputPath") .resultPath("resultPath") .resultSelector(Map.of( "resultSelectorKey", resultSelector)) .timeout(Duration.minutes(30)) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
TaskStateBaseProps.Builder
A builder for
TaskStateBaseProps |
static class |
TaskStateBaseProps.Jsii$Proxy
An implementation for
TaskStateBaseProps |
Modifier and Type | Method and Description |
---|---|
static TaskStateBaseProps.Builder |
builder() |
default String |
getComment()
An optional description for this state.
|
default Duration |
getHeartbeat()
Timeout for the heartbeat.
|
default String |
getInputPath()
JSONPath expression to select part of the state to be the input to this state.
|
default IntegrationPattern |
getIntegrationPattern()
AWS Step Functions integrates with services directly in the Amazon States Language.
|
default String |
getOutputPath()
JSONPath expression to select select a portion of the state output to pass to the next state.
|
default String |
getResultPath()
JSONPath expression to indicate where to inject the state's output.
|
default Map<String,Object> |
getResultSelector()
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
|
default Duration |
getTimeout()
Timeout for the state machine.
|
@Stability(value=Stable) @Nullable default String getComment()
Default: - No comment
@Stability(value=Stable) @Nullable default Duration getHeartbeat()
Default: - None
@Stability(value=Stable) @Nullable default String getInputPath()
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: - The entire task input (JSON path '$')
@Stability(value=Stable) @Nullable default IntegrationPattern getIntegrationPattern()
You can control these AWS services using service integration patterns
Default: - `IntegrationPattern.REQUEST_RESPONSE` for most tasks. `IntegrationPattern.RUN_JOB` for the following exceptions: `BatchSubmitJob`, `EmrAddStep`, `EmrCreateCluster`, `EmrTerminationCluster`, and `EmrContainersStartJobRun`.
https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
@Stability(value=Stable) @Nullable default String getOutputPath()
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
@Stability(value=Stable) @Nullable default String getResultPath()
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: - Replaces the entire input with the result (JSON path '$')
@Stability(value=Stable) @Nullable default Map<String,Object> getResultSelector()
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector
@Stability(value=Stable) @Nullable default Duration getTimeout()
Default: - None
@Stability(value=Stable) static TaskStateBaseProps.Builder builder()
TaskStateBaseProps.Builder
of TaskStateBaseProps
Copyright © 2022. All rights reserved.