Interface ProcessorConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProcessorConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:49.448Z")
@Stability(Stable)
public interface ProcessorConfig
extends software.amazon.jsii.JsiiSerializable
Specifies the configuration for the processor 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 ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forProcessorConfigstatic final classAn implementation forProcessorConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessorConfig.Builderbuilder()default ProcessorTypeSpecifies the execution type for the Map workflow.default ProcessorModegetMode()Specifies the execution mode for the Map workflow.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExecutionType
Specifies the execution type for the Map workflow.If you use the
Mapclass, you must provide this field if you specifiedDISTRIBUTEDfor themodesub-field.If you use the
DistributedMapclass, this property is ignored. Use themapExecutionTypein theDistributedMapclass instead.Default: - no execution type
-
getMode
Specifies the execution mode for the Map workflow.Default: - ProcessorMode.INLINE if using the `Map` class, ProcessorMode.DISTRIBUTED if using the `DistributedMap` class
-
builder
- Returns:
- a
ProcessorConfig.BuilderofProcessorConfig
-