Skip to content

Commit 7bb3d86

Browse files
committed
docs: update README
1 parent 931dfce commit 7bb3d86

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • packages/aws-cdk-lib/aws-stepfunctions

packages/aws-cdk-lib/aws-stepfunctions/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,11 +595,9 @@ const distributedMap = new sfn.DistributedMap(this, 'Distributed Map State', {
595595
distributedMap.itemProcessor(new sfn.Pass(this, 'Pass State'));
596596
```
597597

598-
When using the `DistributedMap` class, the `ProcessorConfig.executionType` property is ignored.
598+
If you want to specify the execution type for the DistributedMap, you must set the `mapExecutionType` property in the `DistributedMap` class. When using the `DistributedMap` class, the `ProcessorConfig.executionType` property is ignored.
599599

600-
If you want to specify the execution type, you must set the `mapExecutionType` property in the `DistributedMap` class instead.
601-
602-
In the following example, the execution type for the DistributedMap is `EXPRESS` based on the value specified for `mapExecutionType`.
600+
In the following example, the execution type for the DistributedMap is set to `EXPRESS` based on the value specified for `mapExecutionType`.
603601

604602
```ts
605603
const distributedMap = new sfn.DistributedMap(this, 'DistributedMap', {

0 commit comments

Comments
 (0)