Interface CfnModelPackage.TransformJobDefinitionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnModelPackage.TransformJobDefinitionProperty extends
Defines the input needed to run a transform job using the inference specification specified in the algorithm.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 TransformJobDefinitionProperty transformJobDefinitionProperty = TransformJobDefinitionProperty.builder()
                 // the properties below are optional
                 // the properties below are optional
                 // the properties below are optional
         // the properties below are optional
                 "environmentKey", "environment"))
  • Method Details

    • getTransformInput

      @Stability(Stable) @NotNull Object getTransformInput()
      A description of the input source and the way the transform job consumes it.
    • getTransformOutput

      @Stability(Stable) @NotNull Object getTransformOutput()
      Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
    • getTransformResources

      @Stability(Stable) @NotNull Object getTransformResources()
      Identifies the ML compute instances for the transform job.
    • getBatchStrategy

      @Stability(Stable) @Nullable default String 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 the MaxPayloadInMB limit.

    • getEnvironment

      @Stability(Stable) @Nullable default Object getEnvironment()
      The environment variables to set in the Docker container.

      We support up to 16 key and values entries in the map.

    • getMaxConcurrentTransforms

      @Stability(Stable) @Nullable default Number getMaxConcurrentTransforms()
      The maximum number of parallel requests that can be sent to each instance in a transform job.

      The default value is 1.

    • getMaxPayloadInMb

      @Stability(Stable) @Nullable default Number getMaxPayloadInMb()
      The maximum payload size allowed, in MB.

      A payload is the data portion of a record (without metadata).

    • builder

      @Stability(Stable) static CfnModelPackage.TransformJobDefinitionProperty.Builder builder()
      a CfnModelPackage.TransformJobDefinitionProperty.Builder of CfnModelPackage.TransformJobDefinitionProperty