Interface ProcessorConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ProcessorConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)", date="2024-01-03T18:29:33.162Z") @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"))
         .parameters(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());
 
  • Method Details

    • getExecutionType

      @Stability(Stable) @Nullable default ProcessorType getExecutionType()
      Specifies the execution type for the Map workflow.

      You must provide this field if you specified DISTRIBUTED for the mode sub-field.

      Default: - no execution type

    • getMode

      @Stability(Stable) @Nullable default ProcessorMode getMode()
      Specifies the execution mode for the Map workflow.

      Default: - ProcessorMode.INLINE

    • builder

      @Stability(Stable) static ProcessorConfig.Builder builder()
      Returns:
      a ProcessorConfig.Builder of ProcessorConfig