@Stability(value=Stable)
public static interface CfnModelPackage.TransformJobDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
Object environment;
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(environment)
.maxConcurrentTransforms(123)
.maxPayloadInMb(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnModelPackage.TransformJobDefinitionProperty.Builder
A builder for
CfnModelPackage.TransformJobDefinitionProperty |
static class |
CfnModelPackage.TransformJobDefinitionProperty.Jsii$Proxy
An implementation for
CfnModelPackage.TransformJobDefinitionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnModelPackage.TransformJobDefinitionProperty.Builder |
builder() |
default String |
getBatchStrategy()
A string that determines the number of records included in a single mini-batch.
|
default Object |
getEnvironment()
The environment variables to set in the Docker container.
|
default Number |
getMaxConcurrentTransforms()
The maximum number of parallel requests that can be sent to each instance in a transform job.
|
default Number |
getMaxPayloadInMb()
The maximum payload size allowed, in MB.
|
Object |
getTransformInput()
A description of the input source and the way the transform job consumes it.
|
Object |
getTransformOutput()
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
|
Object |
getTransformResources()
Identifies the ML compute instances for the transform job.
|
@Stability(value=Stable) @NotNull Object getTransformInput()
@Stability(value=Stable) @NotNull Object getTransformOutput()
@Stability(value=Stable) @NotNull Object getTransformResources()
@Stability(value=Stable) @Nullable default String getBatchStrategy()
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.
@Stability(value=Stable) @Nullable default Object getEnvironment()
We support up to 16 key and values entries in the map.
@Stability(value=Stable) @Nullable default Number getMaxConcurrentTransforms()
The default value is 1.
@Stability(value=Stable) @Nullable default Number getMaxPayloadInMb()
A payload is the data portion of a record (without metadata).
@Stability(value=Stable) static CfnModelPackage.TransformJobDefinitionProperty.Builder builder()
Copyright © 2022. All rights reserved.