@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2021-01-06T15:17:33.904Z") @Stability(value=Stable) public class Map extends State implements INextable
A Map state can be used to run a set of steps for each element of an input array.
A Map state will execute the same steps for multiple entries of an array in the state input.
While the Parallel state executes multiple branches of steps using the same input, a Map state will execute the same steps for multiple entries of an array in the state input.
https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-map-state.html| Modifier and Type | Class and Description |
|---|---|
static class |
Map.Builder
A fluent builder for
Map. |
software.amazon.jsii.JsiiObject.InitializationModeINextable.Jsii$Default, INextable.Jsii$ProxyIChainable.Jsii$DefaultIConstruct.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
Map(software.constructs.Construct scope,
String id) |
|
Map(software.constructs.Construct scope,
String id,
MapProps props) |
protected |
Map(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Map(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Map |
addCatch(IChainable handler)
Add a recovery handler for this state.
|
Map |
addCatch(IChainable handler,
CatchProps props)
Add a recovery handler for this state.
|
Map |
addRetry()
Add retry configuration for this state.
|
Map |
addRetry(RetryProps props)
Add retry configuration for this state.
|
List<INextable> |
getEndStates()
Continuable states of this Chainable.
|
Map |
iterator(IChainable iterator)
Define iterator state machine in Map.
|
Chain |
next(IChainable next)
Continue normal execution with the given state.
|
com.fasterxml.jackson.databind.node.ObjectNode |
toStateJson()
Return the Amazon States Language object for this state.
|
protected List<String> |
validate()
Validate this state.
|
addBranch, addChoice, addIterator, addPrefix, bindToGraph, filterNextables, findReachableEndStates, findReachableEndStates, findReachableStates, findReachableStates, getBranches, getComment, getDefaultChoice, getId, getInputPath, getIteration, getOutputPath, getParameters, getResultPath, getStartState, getStateId, makeDefault, makeNext, prefixStates, renderBranches, renderChoices, renderInputOutput, renderIterator, renderNextEnd, renderRetryCatch, setDefaultChoice, setIteration, whenBoundToGraphgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Map(software.amazon.jsii.JsiiObjectRef objRef)
protected Map(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Map(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
MapProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
public Map(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable) @NotNull public Map addCatch(@NotNull IChainable handler, @Nullable CatchProps props)
When a particular error occurs, execution will continue at the error handler instead of failing the state machine execution.
handler - This parameter is required.props - @Stability(value=Stable) @NotNull public Map addCatch(@NotNull IChainable handler)
When a particular error occurs, execution will continue at the error handler instead of failing the state machine execution.
handler - This parameter is required.@Stability(value=Stable) @NotNull public Map addRetry(@Nullable RetryProps props)
This controls if and how the execution will be retried if a particular error occurs.
props - @Stability(value=Stable) @NotNull public Map addRetry()
This controls if and how the execution will be retried if a particular error occurs.
@Stability(value=Stable) @NotNull public Map iterator(@NotNull IChainable iterator)
iterator - This parameter is required.@Stability(value=Stable) @NotNull public Chain next(@NotNull IChainable next)
@Stability(value=Stable) @NotNull public com.fasterxml.jackson.databind.node.ObjectNode toStateJson()
toStateJson in class State@Stability(value=Stable) @NotNull public List<INextable> getEndStates()
getEndStates in interface IChainablegetEndStates in class StateCopyright © 2021. All rights reserved.