Defines the input needed to run a transform job using the inference specification specified in the algorithm.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"BatchStrategy" : String
,
"Environment" : {Key
: Value
, ...}
,
"MaxConcurrentTransforms" : Integer
,
"MaxPayloadInMB" : Integer
,
"TransformInput" : TransformInput
,
"TransformOutput" : TransformOutput
,
"TransformResources" : TransformResources
}
YAML
BatchStrategy: String
Environment:
Key
: Value
MaxConcurrentTransforms: Integer
MaxPayloadInMB: Integer
TransformInput:
TransformInput
TransformOutput:
TransformOutput
TransformResources:
TransformResources
Properties
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 theMaxPayloadInMB
limit.Required: No
Type: String
Allowed values:
MultiRecord | SingleRecord
Update requires: Replacement
Environment
-
The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
Required: No
Type: Object of String
Pattern:
[a-zA-Z_][a-zA-Z0-9_]*
Maximum:
1024
Update requires: Replacement
MaxConcurrentTransforms
-
The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.
Required: No
Type: Integer
Minimum:
0
Update requires: Replacement
MaxPayloadInMB
-
The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
Required: No
Type: Integer
Minimum:
0
Update requires: Replacement
TransformInput
-
A description of the input source and the way the transform job consumes it.
Required: Yes
Type: TransformInput
Update requires: Replacement
TransformOutput
-
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
Required: Yes
Type: TransformOutput
Update requires: Replacement
TransformResources
-
Identifies the ML compute instances for the transform job.
Required: Yes
Type: TransformResources
Update requires: Replacement