Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: CC-BY-SA-4.0

TransformJobDefinition

Defines the input needed to run a transform job using the inference specification specified in the algorithm.

BatchStrategy A string that determines the number of records included in a single mini-batch.
SingleRecord means only one record is used per mini-batch. MultiRecord means a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB limit.
Type: String
Valid Values:MultiRecord | SingleRecord
Required: No

Environment The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
Type: String to string map
Key Length Constraints: Maximum length of 1024.
Key Pattern: [a-zA-Z_][a-zA-Z0-9_]*
Value Length Constraints: Maximum length of 10240.
Value Pattern: [\S\s]*
Required: No

MaxConcurrentTransforms The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.
Type: Integer
Valid Range: Minimum value of 0.
Required: No

MaxPayloadInMB The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
Type: Integer
Valid Range: Minimum value of 0.
Required: No

TransformInput A description of the input source and the way the transform job consumes it.
Type: TransformInput object
Required: Yes

TransformOutput Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
Type: TransformOutput object
Required: Yes

TransformResources Identifies the ML compute instances for the transform job.
Type: TransformResources object
Required: Yes

For more information about using this API in one of the language-specific AWS SDKs, see the following: + AWS SDK for C++ + AWS SDK for Go + AWS SDK for Go - Pilot + AWS SDK for Java + AWS SDK for Ruby V2