This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::SageMaker::ModelPackage TransformJobDefinition
Defines the input needed to run a transform job using the inference specification specified in the algorithm.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "BatchStrategy" :String, "Environment" :{, "MaxConcurrentTransforms" :Key:Value, ...}Integer, "MaxPayloadInMB" :Integer, "TransformInput" :TransformInput, "TransformOutput" :TransformOutput, "TransformResources" :TransformResources}
YAML
BatchStrategy:StringEnvironment:MaxConcurrentTransforms:Key:ValueIntegerMaxPayloadInMB:IntegerTransformInput:TransformInputTransformOutput:TransformOutputTransformResources:TransformResources
Properties
BatchStrategy-
A string that determines the number of records included in a single mini-batch.
SingleRecordmeans only one record is used per mini-batch.MultiRecordmeans a mini-batch is set to contain as many records that can fit within theMaxPayloadInMBlimit.Required: No
Type: String
Allowed values:
MultiRecord | SingleRecordUpdate 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:
1024Update 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:
0Update 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:
0Update 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