TransformJobDefinitionProperty Struct
Defines the input needed to run a transform job using the inference specification specified in the algorithm.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const transformJobDefinitionProperty: sagemaker.CfnModelPackage.TransformJobDefinitionProperty = {
transformInput: {
dataSource: {
s3DataSource: {
s3DataType: 's3DataType',
s3Uri: 's3Uri',
},
},
// the properties below are optional
compressionType: 'compressionType',
contentType: 'contentType',
splitType: 'splitType',
},
transformOutput: {
s3OutputPath: 's3OutputPath',
// the properties below are optional
accept: 'accept',
assembleWith: 'assembleWith',
kmsKeyId: 'kmsKeyId',
},
transformResources: {
instanceCount: 123,
instanceType: 'instanceType',
// the properties below are optional
volumeKmsKeyId: 'volumeKmsKeyId',
},
// the properties below are optional
batchStrategy: 'batchStrategy',
environment: {
environmentKey: 'environment',
},
maxConcurrentTransforms: 123,
maxPayloadInMb: 123,
};
Properties
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.
environmentIResolvable | { [key: string]: string }environmenttyping.Union[IResolvable, typing.Mapping[str, str]]environmentIResolvableEnvironmentIResolvableEnvironmentinterface{}#The environment variables to set in the Docker container.
We support up to 16 key and values entries in the map.
maxConcurrentTransformsnumbermax_concurrent_transformsint | floatmaxConcurrentTransformsNumberMaxConcurrentTransformsdoubleMaxConcurrentTransforms*float64#The maximum number of parallel requests that can be sent to each instance in a transform job.
The default value is 1.
maxPayloadInMbnumbermax_payload_in_mbint | floatmaxPayloadInMbNumberMaxPayloadInMbdoubleMaxPayloadInMb*float64#The maximum payload size allowed, in MB.
A payload is the data portion of a record (without metadata).
transformInputIResolvable | CfnModelPackage.TransformInputPropertytransform_inputtyping.Union[IResolvable, TransformInputProperty]transformInputIResolvableTransformInputIResolvableTransformInputinterface{}required#A description of the input source and the way the transform job consumes it.
transformOutputIResolvable | CfnModelPackage.TransformOutputPropertytransform_outputtyping.Union[IResolvable, TransformOutputProperty]transformOutputIResolvableTransformOutputIResolvableTransformOutputinterface{}required#Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
transformResourcesIResolvable | CfnModelPackage.TransformResourcesPropertytransform_resourcestyping.Union[IResolvable, TransformResourcesProperty]transformResourcesIResolvableTransformResourcesIResolvableTransformResourcesinterface{}required#Identifies the ML compute instances for the transform job.