Interface TransformResources
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TransformResources.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.250Z")
@Stability(Stable)
public interface TransformResources
extends software.amazon.jsii.JsiiSerializable
ML compute instances for 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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTransformResources
static final class
An implementation forTransformResources
-
Method Summary
Modifier and TypeMethodDescriptionstatic TransformResources.Builder
builder()
Number of ML compute instances to use in the transform job.ML compute instance type for the transform job.default IKey
AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceCount
Number of ML compute instances to use in the transform job. -
getInstanceType
ML compute instance type for the transform job. -
getVolumeEncryptionKey
AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s).Default: - None
-
builder
- Returns:
- a
TransformResources.Builder
ofTransformResources
-