Class Map.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Map>
- Enclosing class:
- Map
Map
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
An optional description for this state.static Map.Builder
JSONPath expression to select part of the state to be the input to this state.itemSelector
(Map<String, ? extends Object> itemSelector) The JSON that you want to override your default iteration input (mutually exclusive withparameters
).JSONPath expression to select the array to iterate over.maxConcurrency
(Number maxConcurrency) MaxConcurrency.maxConcurrencyPath
(String maxConcurrencyPath) MaxConcurrencyPath.outputPath
(String outputPath) JSONPath expression to select part of the state to be the output to this state.parameters
(Map<String, ? extends Object> parameters) Deprecated.resultPath
(String resultPath) JSONPath expression to indicate where to inject the state's output.resultSelector
(Map<String, ? extends Object> resultSelector) The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.Optional name for this state.
-
Method Details
-
create
- Parameters:
scope
- This parameter is required.id
- Descriptive identifier for this chainable. This parameter is required.- Returns:
- a new instance of
Map.Builder
.
-
comment
An optional description for this state.Default: No comment
- Parameters:
comment
- An optional description for this state. This parameter is required.- Returns:
this
-
inputPath
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: $
- Parameters:
inputPath
- JSONPath expression to select part of the state to be the input to this state. This parameter is required.- Returns:
this
-
itemSelector
The JSON that you want to override your default iteration input (mutually exclusive withparameters
).Default: $
- Parameters:
itemSelector
- The JSON that you want to override your default iteration input (mutually exclusive withparameters
). This parameter is required.- Returns:
this
- See Also:
-
itemsPath
JSONPath expression to select the array to iterate over.Default: $
- Parameters:
itemsPath
- JSONPath expression to select the array to iterate over. This parameter is required.- Returns:
this
-
maxConcurrency
MaxConcurrency.An upper bound on the number of iterations you want running at once.
Default: - full concurrency
- Parameters:
maxConcurrency
- MaxConcurrency. This parameter is required.- Returns:
this
- See Also:
-
maxConcurrencyPath
MaxConcurrencyPath.A JsonPath that specifies the maximum concurrency dynamically from the state input.
Default: - full concurrency
- Parameters:
maxConcurrencyPath
- MaxConcurrencyPath. This parameter is required.- Returns:
this
- See Also:
-
outputPath
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: $
- Parameters:
outputPath
- JSONPath expression to select part of the state to be the output to this state. This parameter is required.- Returns:
this
-
resultPath
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: $
- Parameters:
resultPath
- JSONPath expression to indicate where to inject the state's output. This parameter is required.- Returns:
this
-
resultSelector
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
- Parameters:
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. This parameter is required.- Returns:
this
- See Also:
-
stateName
Optional name for this state.Default: - The construct ID will be used as state name
- Parameters:
stateName
- Optional name for this state. This parameter is required.- Returns:
this
-
parameters
@Stability(Deprecated) @Deprecated public Map.Builder parameters(Map<String, ? extends Object> parameters) Deprecated.Step Functions has deprecated theparameters
field in favor of the newitemSelector
field(deprecated) The JSON that you want to override your default iteration input (mutually exclusive withitemSelector
).Default: $
- Parameters:
parameters
- The JSON that you want to override your default iteration input (mutually exclusive withitemSelector
). This parameter is required.- Returns:
this
- See Also:
-
build
-
parameters
field in favor of the newitemSelector
field