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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnModelPackage.TransformJobDefinitionProperty
static final class
An implementation forCfnModelPackage.TransformJobDefinitionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
A string that determines the number of records included in a single mini-batch.default Object
The environment variables to set in the Docker container.default Number
The maximum number of parallel requests that can be sent to each instance in a transform job.default Number
The 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.- See Also:
-
getTransformOutput
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.- See Also:
-
getTransformResources
Identifies the ML compute instances for the transform job.- See Also:
-
getBatchStrategy
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.- See Also:
-
getEnvironment
The environment variables to set in the Docker container.We support up to 16 key and values entries in the map.
- 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
-