Interface ProcessorConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProcessorConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:41.917Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forProcessorConfig
static final class
An implementation forProcessorConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessorConfig.Builder
builder()
default ProcessorType
Specifies the execution type for the Map workflow.default ProcessorMode
getMode()
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
Map
class, you must provide this field if you specifiedDISTRIBUTED
for themode
sub-field.If you use the
DistributedMap
class, this property is ignored. Use themapExecutionType
in theDistributedMap
class 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.Builder
ofProcessorConfig
-