ProcessorConfig

class aws_cdk.aws_stepfunctions.ProcessorConfig(*, execution_type=None, mode=None)

Bases: object

Specifies the configuration for the processor Map state.

Parameters:
  • execution_type (Optional[ProcessorType]) – 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

  • mode (Optional[ProcessorMode]) – Specifies the execution mode for the Map workflow. Default: - ProcessorMode.INLINE

ExampleMetadata:

infused

Example:

map = sfn.Map(self, "Map State",
    max_concurrency=1,
    items_path=sfn.JsonPath.string_at("$.inputForMap"),
    item_selector={
        "item": sfn.JsonPath.string_at("$.Map.Item.Value")
    },
    result_path="$.mapOutput"
)

map.item_processor(sfn.Pass(self, "Pass State"),
    mode=sfn.ProcessorMode.DISTRIBUTED,
    execution_type=sfn.ProcessorType.STANDARD
)

Attributes

execution_type

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

mode

Specifies the execution mode for the Map workflow.

Default:
  • ProcessorMode.INLINE