Interface MapProps
- All Superinterfaces:
AssignableStateOptions
,software.amazon.jsii.JsiiSerializable
,JsonataCommonOptions
,JsonPathCommonOptions
,MapBaseJsonataOptions
,MapBaseJsonPathOptions
,MapBaseOptions
,MapBaseProps
,StateBaseProps
- All Known Implementing Classes:
MapProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-24T11:33:23.836Z")
@Stability(Stable)
public interface MapProps
extends software.amazon.jsii.JsiiSerializable, MapBaseProps, MapBaseOptions
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(); map.itemProcessor(new Pass(this, "Pass State"), ProcessorConfig.builder() .mode(ProcessorMode.DISTRIBUTED) .executionType(ProcessorType.STANDARD) .build());
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MapProps.Builder
builder()
Workflow variables to store in this step.The JSON that you want to override your default iteration input (mutually exclusive withparameters
andjsonataItemSelector
).default String
Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive withparameters
anditemSelector
).default Number
MaxConcurrency.Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptions
getOutputs
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPath
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.MapBaseJsonataOptions
getItems
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.MapBaseJsonPathOptions
getItemsPath, getMaxConcurrencyPath, getResultPath, getResultSelector
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, 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:
-
getItemSelector
The JSON that you want to override your default iteration input (mutually exclusive withparameters
andjsonataItemSelector
).Default: $
- Specified by:
getItemSelector
in interfaceMapBaseOptions
- See Also:
-
getJsonataItemSelector
Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive withparameters
anditemSelector
).Example value:
{% {\"foo\": \"foo\", \"input\": $states.input} %}
Default: $
- Specified by:
getJsonataItemSelector
in interfaceMapBaseOptions
-
getMaxConcurrency
MaxConcurrency.An upper bound on the number of iterations you want running at once.
Default: - full concurrency
- Specified by:
getMaxConcurrency
in interfaceMapBaseOptions
- See Also:
-
getAssign
Workflow variables to store in this step.Using workflow variables, you can store data in a step and retrieve that data in future steps.
Default: - Not assign variables
- Specified by:
getAssign
in interfaceAssignableStateOptions
- See Also:
-
builder
- Returns:
- a
MapProps.Builder
ofMapProps
-
parameters
field in favor of the newitemSelector
field