# BatchStrategy

Specifies the number of records to include in a mini-batch for an HTTP inference request.

- Source: [`aws-stepfunctions-tasks/lib/sagemaker/base-types.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/sagemaker/base-types.ts#L848)

## Members

| Member | Description |
| --- | --- |
| `MULTI_RECORD` | Fits multiple records in a mini-batch. |
| `SINGLE_RECORD` | Use a single record when making an invocation request. |

## Referenced by

- [`SageMakerCreateTransformJobJsonataProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.SageMakerCreateTransformJobJsonataProps).batchStrategy
- [`SageMakerCreateTransformJobJsonPathProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.SageMakerCreateTransformJobJsonPathProps).batchStrategy
- [`SageMakerCreateTransformJobProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.SageMakerCreateTransformJobProps).batchStrategy
