Interface TransformOutput

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
TransformOutput.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.249Z") @Stability(Stable) public interface TransformOutput extends software.amazon.jsii.JsiiSerializable
S3 location where you want Amazon SageMaker to save the results from the transform job.

Example:

 SageMakerCreateTransformJob.Builder.create(this, "Batch Inference")
         .transformJobName("MyTransformJob")
         .modelName("MyModelName")
         .modelClientOptions(ModelClientOptions.builder()
                 .invocationsMaxRetries(3) // default is 0
                 .invocationsTimeout(Duration.minutes(5))
                 .build())
         .transformInput(TransformInput.builder()
                 .transformDataSource(TransformDataSource.builder()
                         .s3DataSource(TransformS3DataSource.builder()
                                 .s3Uri("s3://inputbucket/train")
                                 .s3DataType(S3DataType.S3_PREFIX)
                                 .build())
                         .build())
                 .build())
         .transformOutput(TransformOutput.builder()
                 .s3OutputPath("s3://outputbucket/TransformJobOutputPath")
                 .build())
         .transformResources(TransformResources.builder()
                 .instanceCount(1)
                 .instanceType(InstanceType.of(InstanceClass.M4, InstanceSize.XLARGE))
                 .build())
         .build();
 
  • Method Details

    • getS3OutputPath

      @Stability(Stable) @NotNull String getS3OutputPath()
      S3 path where you want Amazon SageMaker to store the results of the transform job.
    • getAccept

      @Stability(Stable) @Nullable default String getAccept()
      MIME type used to specify the output data.

      Default: - None

    • getAssembleWith

      @Stability(Stable) @Nullable default AssembleWith getAssembleWith()
      Defines how to assemble the results of the transform job as a single S3 object.

      Default: - None

    • getEncryptionKey

      @Stability(Stable) @Nullable default IKey getEncryptionKey()
      AWS KMS key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.

      Default: - default KMS key for Amazon S3 for your role's account.

    • builder

      @Stability(Stable) static TransformOutput.Builder builder()
      Returns:
      a TransformOutput.Builder of TransformOutput