enum ProcessorMode
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.ProcessorMode |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#ProcessorMode |
Java | software.amazon.awscdk.services.stepfunctions.ProcessorMode |
Python | aws_cdk.aws_stepfunctions.ProcessorMode |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions » ProcessorMode |
Mode of the Map workflow.
Example
const map = new sfn.Map(this, 'Map State', {
maxConcurrency: 1,
itemsPath: sfn.JsonPath.stringAt('$.inputForMap'),
itemSelector: {
item: sfn.JsonPath.stringAt('$$.Map.Item.Value'),
},
resultPath: '$.mapOutput',
});
map.itemProcessor(new sfn.Pass(this, 'Pass State'), {
mode: sfn.ProcessorMode.DISTRIBUTED,
executionType: sfn.ProcessorType.STANDARD,
});
Members
Name | Description |
---|---|
INLINE | Inline Map mode. |
DISTRIBUTED | Distributed Map mode. |
INLINE
Inline Map mode.
DISTRIBUTED
Distributed Map mode.