Interface MapProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,MapBaseProps
- All Known Implementing Classes:
MapProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:17.562Z")
@Stability(Stable)
public interface MapProps
extends software.amazon.jsii.JsiiSerializable, MapBaseProps
Properties for defining a Map state.
Example:
Map map = Map.Builder.create(this, "Map State") .maxConcurrency(1) .itemsPath(JsonPath.stringAt("$.inputForMap")) .itemSelector(Map.of( "item", JsonPath.stringAt("$.Map.Item.Value"))) .resultPath("$.mapOutput") .build(); // The Map iterator can contain a IChainable, which can be an individual or multiple steps chained together. // Below example is with a Choice and Pass step Choice choice = new Choice(this, "Choice"); Condition condition1 = Condition.stringEquals("$.item.status", "SUCCESS"); Pass step1 = new Pass(this, "Step1"); Pass step2 = new Pass(this, "Step2"); Pass finish = new Pass(this, "Finish"); Chain definition = choice.when(condition1, step1).otherwise(step2).afterwards().next(finish); map.itemProcessor(definition);
-
Nested Class Summary
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.MapBaseProps
getComment, getInputPath, getItemSelector, getItemsPath, getMaxConcurrency, getMaxConcurrencyPath, getOutputPath, getResultPath, getResultSelector, getStateName
-
Method Details
-
getParameters
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: $
- See Also:
-
builder
- Returns:
- a
MapProps.Builder
ofMapProps
-
parameters
field in favor of the newitemSelector
field