Interface IProcessorConfig
Specifies the configuration for the processor Map state.
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IProcessorConfig
Syntax (vb)
Public Interface IProcessorConfig
Remarks
ExampleMetadata: infused
Examples
var map = new Map(this, "Map State", new MapProps {
MaxConcurrency = 1,
ItemsPath = JsonPath.StringAt("$.inputForMap"),
ItemSelector = new Dictionary<string, object> {
{ "item", JsonPath.StringAt("$.Map.Item.Value") }
},
ResultPath = "$.mapOutput"
});
map.ItemProcessor(new Pass(this, "Pass State"), new ProcessorConfig {
Mode = ProcessorMode.DISTRIBUTED,
ExecutionType = ProcessorType.STANDARD
});
Synopsis
Properties
ExecutionType | Specifies the execution type for the Map workflow. |
Mode | Specifies the execution mode for the Map workflow. |
Properties
ExecutionType
Specifies the execution type for the Map workflow.
virtual Nullable<ProcessorType> ExecutionType { get; }
Property Value
System.Nullable<ProcessorType>
Remarks
If you use the Map
class, you must provide this field if you specified DISTRIBUTED
for the mode
sub-field.
If you use the DistributedMap
class, this property is ignored.
Use the mapExecutionType
in the DistributedMap
class instead.
Default: - no execution type
Mode
Specifies the execution mode for the Map workflow.
virtual Nullable<ProcessorMode> Mode { get; }
Property Value
System.Nullable<ProcessorMode>
Remarks
Default: - ProcessorMode.INLINE if using the Map
class, ProcessorMode.DISTRIBUTED if using the DistributedMap
class