# ItemBatcherProps

Interface for ItemBatcher configuration properties.

Extends: ItemBatcherProps
Used as props by: ItemBatcher

- Source: [`aws-stepfunctions/lib/states/distributed-map/item-batcher.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-stepfunctions/lib/states/distributed-map/item-batcher.ts#L4)
- Type last changed: v2.127.0 · 10 Feb 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';

declare const batchInput: any;
const itemBatcherProps: stepfunctions.ItemBatcherProps = {
  batchInput: batchInput,
  maxInputBytesPerBatch: 123,
  maxInputBytesPerBatchPath: 'maxInputBytesPerBatchPath',
  maxItemsPerBatch: 123,
  maxItemsPerBatchPath: 'maxItemsPerBatchPath',
};
```

## Properties

- `batchInput`: json — BatchInput.

  **Default:** No batchInput

  Fixed JSON input to include in each batch passed to each child workflow execution

- `maxInputBytesPerBatch`: number — MaxInputBytesPerBatch.

  **Default:** uses value of `maxInputBytesPerBatchPath` as the max size per batch, no limits on the batch size under the 256KB limit if that property was also not provided

  Specifies the maximum number of bytes that each child workflow execution processes, as static number

- `maxInputBytesPerBatchPath`: string — MaxInputBytesPerBatchPath.

  **Default:** uses value of `maxInputBytesPerBatch` as the max size per batch, no limits on the batch size under the 256KB limit if that property was also not provided

  Specifies the maximum number of bytes that each child workflow execution processes, as JsonPath

- `maxItemsPerBatch`: number — MaxItemsPerBatch.

  **Default:** uses value of `maxItemsPerBatchPath` 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

  Specifies the maximum number of items that each child workflow execution processes, as static number

- `maxItemsPerBatchPath`: string — MaxItemsPerBatchPath.

  **Default:** uses value of `maxItemsPerBatch` 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

  Specifies the maximum number of items that each child workflow execution processes, as JsonPath
