@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T20:48:16.940Z") @Stability(value=Stable) public interface SageMakerCreateTransformJobProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
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();
Modifier and Type | Interface and Description |
---|---|
static class |
SageMakerCreateTransformJobProps.Builder
A builder for
SageMakerCreateTransformJobProps |
static class |
SageMakerCreateTransformJobProps.Jsii$Proxy
An implementation for
SageMakerCreateTransformJobProps |
Modifier and Type | Method and Description |
---|---|
static SageMakerCreateTransformJobProps.Builder |
builder() |
default BatchStrategy |
getBatchStrategy()
Number of records to include in a mini-batch for an HTTP inference request.
|
default Map<String,String> |
getEnvironment()
Environment variables to set in the Docker container.
|
default Number |
getMaxConcurrentTransforms()
Maximum number of parallel requests that can be sent to each instance in a transform job.
|
default Size |
getMaxPayload()
Maximum allowed size of the payload, in MB.
|
default ModelClientOptions |
getModelClientOptions()
Configures the timeout and maximum number of retries for processing a transform job invocation.
|
String |
getModelName()
Name of the model that you want to use for the transform job.
|
default IRole |
getRole()
Role for the Transform Job.
|
default Map<String,String> |
getTags()
Tags to be applied to the train job.
|
TransformInput |
getTransformInput()
Dataset to be transformed and the Amazon S3 location where it is stored.
|
String |
getTransformJobName()
Transform Job Name.
|
TransformOutput |
getTransformOutput()
S3 location where you want Amazon SageMaker to save the results from the transform job.
|
default TransformResources |
getTransformResources()
ML compute instances for the transform job.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
@Stability(value=Stable) @NotNull String getModelName()
@Stability(value=Stable) @NotNull TransformInput getTransformInput()
@Stability(value=Stable) @NotNull String getTransformJobName()
@Stability(value=Stable) @NotNull TransformOutput getTransformOutput()
@Stability(value=Stable) @Nullable default BatchStrategy getBatchStrategy()
Default: - No batch strategy
@Stability(value=Stable) @Nullable default Map<String,String> getEnvironment()
Default: - No environment variables
@Stability(value=Stable) @Nullable default Number getMaxConcurrentTransforms()
Default: - Amazon SageMaker checks the optional execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is not enabled, the default value is 1.
@Stability(value=Stable) @Nullable default Size getMaxPayload()
Default: 6
@Stability(value=Stable) @Nullable default ModelClientOptions getModelClientOptions()
Default: - 0 retries and 60 seconds of timeout
@Stability(value=Stable) @Nullable default IRole getRole()
Default: - A role is created with `AmazonSageMakerFullAccess` managed policy
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
Default: - No tags
@Stability(value=Stable) @Nullable default TransformResources getTransformResources()
Default: - 1 instance of type M4.XLarge
@Stability(value=Stable) static SageMakerCreateTransformJobProps.Builder builder()
builder
in interface TaskStateBaseProps
SageMakerCreateTransformJobProps.Builder
of SageMakerCreateTransformJobProps
Copyright © 2022. All rights reserved.