ItemBatcher
- class aws_cdk.aws_stepfunctions.ItemBatcher(*, batch_input=None, max_input_bytes_per_batch=None, max_input_bytes_per_batch_path=None, max_items_per_batch=None, max_items_per_batch_path=None)
Bases:
object
Configuration for processing a group of items in a single child workflow execution.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_stepfunctions as stepfunctions # batch_input: Any item_batcher = stepfunctions.ItemBatcher( batch_input=batch_input, max_input_bytes_per_batch=123, max_input_bytes_per_batch_path="maxInputBytesPerBatchPath", max_items_per_batch=123, max_items_per_batch_path="maxItemsPerBatchPath" )
- Parameters:
batch_input (
Optional
[Mapping
[Any
,Any
]]) – BatchInput. Fixed JSON input to include in each batch passed to each child workflow execution Default: - No batchInputmax_input_bytes_per_batch (
Union
[int
,float
,None
]) – MaxInputBytesPerBatch. Specifies the maximum number of bytes that each child workflow execution processes, as static number Default: - uses value ofmaxInputBytesPerBatchPath
as the max size per batch, no limits on the batch size under the 256KB limit if that property was also not providedmax_input_bytes_per_batch_path (
Optional
[str
]) – MaxInputBytesPerBatchPath. Specifies the maximum number of bytes that each child workflow execution processes, as JsonPath Default: - uses value ofmaxInputBytesPerBatch
as the max size per batch, no limits on the batch size under the 256KB limit if that property was also not providedmax_items_per_batch (
Union
[int
,float
,None
]) – MaxItemsPerBatch. Specifies the maximum number of items that each child workflow execution processes, as static number Default: - uses value ofmaxItemsPerBatchPath
as the max items per batch, no limits on the number of items in a batch under the 256KB limit if that property was also not providedmax_items_per_batch_path (
Optional
[str
]) – MaxItemsPerBatchPath. Specifies the maximum number of items that each child workflow execution processes, as JsonPath Default: - uses value ofmaxItemsPerBatch
as the max items per batch, no limits on the number of items in a batch under the 256KB limit if that property was also not provided
Methods
- render()
Render ItemBatcher in ASL JSON format.
- Return type:
Any
- validate_item_batcher()
Validate this ItemBatcher.
- Return type:
List
[str
]