Interface CfnModelPackage.TransformJobDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelPackage.TransformJobDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnModelPackage
@Stability(Stable)
public static interface CfnModelPackage.TransformJobDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
Defines the input needed to run a transform job using the inference specification specified in the algorithm.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
TransformJobDefinitionProperty transformJobDefinitionProperty = TransformJobDefinitionProperty.builder()
.transformInput(TransformInputProperty.builder()
.dataSource(DataSourceProperty.builder()
.s3DataSource(S3DataSourceProperty.builder()
.s3DataType("s3DataType")
.s3Uri("s3Uri")
.build())
.build())
// the properties below are optional
.compressionType("compressionType")
.contentType("contentType")
.splitType("splitType")
.build())
.transformOutput(TransformOutputProperty.builder()
.s3OutputPath("s3OutputPath")
// the properties below are optional
.accept("accept")
.assembleWith("assembleWith")
.kmsKeyId("kmsKeyId")
.build())
.transformResources(TransformResourcesProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
// the properties below are optional
.volumeKmsKeyId("volumeKmsKeyId")
.build())
// the properties below are optional
.batchStrategy("batchStrategy")
.environment(Map.of(
"environmentKey", "environment"))
.maxConcurrentTransforms(123)
.maxPayloadInMb(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelPackage.TransformJobDefinitionPropertystatic final classAn implementation forCfnModelPackage.TransformJobDefinitionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA string that determines the number of records included in a single mini-batch.default ObjectThe environment variables to set in the Docker container.default NumberThe maximum number of parallel requests that can be sent to each instance in a transform job.default NumberThe maximum payload size allowed, in MB.A description of the input source and the way the transform job consumes it.Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.Identifies the ML compute instances for the transform job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTransformInput
A description of the input source and the way the transform job consumes it.Returns union: either
IResolvableorCfnModelPackage.TransformInputProperty- See Also:
-
getTransformOutput
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.Returns union: either
IResolvableorCfnModelPackage.TransformOutputProperty- See Also:
-
getTransformResources
Identifies the ML compute instances for the transform job.Returns union: either
IResolvableorCfnModelPackage.TransformResourcesProperty- See Also:
-
getBatchStrategy
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.- See Also:
-
getEnvironment
The environment variables to set in the Docker container.We support up to 16 key and values entries in the map.
Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getMaxConcurrentTransforms
The maximum number of parallel requests that can be sent to each instance in a transform job.The default value is 1.
- See Also:
-
getMaxPayloadInMb
The maximum payload size allowed, in MB.A payload is the data portion of a record (without metadata).
- See Also:
-
builder
-