@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.406Z") @Stability(value=Stable) public interface StateProps 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.services.stepfunctions.*;
Object parameters;
Object resultSelector;
StateProps stateProps = StateProps.builder()
.comment("comment")
.inputPath("inputPath")
.outputPath("outputPath")
.parameters(Map.of(
"parametersKey", parameters))
.resultPath("resultPath")
.resultSelector(Map.of(
"resultSelectorKey", resultSelector))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StateProps.Builder
A builder for
StateProps |
static class |
StateProps.Jsii$Proxy
An implementation for
StateProps |
| Modifier and Type | Method and Description |
|---|---|
static StateProps.Builder |
builder() |
default String |
getComment()
A comment describing this state.
|
default String |
getInputPath()
JSONPath expression to select part of the state to be the input to this state.
|
default String |
getOutputPath()
JSONPath expression to select part of the state to be the output to this state.
|
default Map<String,Object> |
getParameters()
Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input.
|
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.
|
@Stability(value=Stable) @Nullable default String getComment()
Default: No comment
@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: $
@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: $
@Stability(value=Stable) @Nullable default Map<String,Object> getParameters()
Default: No parameters
@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: $
@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
@Stability(value=Stable) static StateProps.Builder builder()
StateProps.Builder of StatePropsCopyright © 2022. All rights reserved.