Description: Mode and Execution of Map.ItemProcessor.ProcessorConfig are optional. Furthermore, If Mode is INLINE, ExecutionType should not be specified and doing so throws an error; if Mode is DISTRIBUTED, ExecutionType needs to be specified explicitly as per documentation.
Schema update type: Remove the requirement for the Mode and ExecutionType
Removing ProcessorConfig, or adding ExecutionType within it fixes validation, but throws an error during stack deployment. Having just the ExecutionType results in an identical validation error.
Overview
Mode
andExecution
ofMap.ItemProcessor.ProcessorConfig
are optional. Furthermore, IfMode
isINLINE
,ExecutionType
should not be specified and doing so throws an error; ifMode
isDISTRIBUTED
,ExecutionType
needs to be specified explicitly as per documentation.Mode
andExecutionType
References
Mode: INLINE
, but the current schema invalidates that example.How was this tested?
To reproduce, add the following state to a state machine:
Removing
ProcessorConfig
, or addingExecutionType
within it fixes validation, but throws an error during stack deployment. Having just theExecutionType
results in an identical validation error.