Interface SageMakerCreateTransformJobProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TaskStateBaseProps
- All Known Implementing Classes:
SageMakerCreateTransformJobProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:06.692Z")
@Stability(Stable)
public interface SageMakerCreateTransformJobProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for creating an Amazon SageMaker transform job task.
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 forSageMakerCreateTransformJobProps
static final class
An implementation forSageMakerCreateTransformJobProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default BatchStrategy
Number of records to include in a mini-batch for an HTTP inference request.Environment variables to set in the Docker container.default Number
Maximum number of parallel requests that can be sent to each instance in a transform job.default Size
Maximum allowed size of the payload, in MB.default ModelClientOptions
Configures the timeout and maximum number of retries for processing a transform job invocation.Name of the model that you want to use for the transform job.default IRole
getRole()
Role for the Transform Job.getTags()
Tags to be applied to the train job.Dataset to be transformed and the Amazon S3 location where it is stored.Transform Job Name.S3 location where you want Amazon SageMaker to save the results from the transform job.default TransformResources
ML compute instances for the transform job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getCredentials, getHeartbeat, getHeartbeatTimeout, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getStateName, getTaskTimeout, getTimeout
-
Method Details
-
getModelName
Name of the model that you want to use for the transform job. -
getTransformInput
Dataset to be transformed and the Amazon S3 location where it is stored. -
getTransformJobName
Transform Job Name. -
getTransformOutput
S3 location where you want Amazon SageMaker to save the results from the transform job. -
getBatchStrategy
Number of records to include in a mini-batch for an HTTP inference request.Default: - No batch strategy
-
getEnvironment
Environment variables to set in the Docker container.Default: - No environment variables
-
getMaxConcurrentTransforms
Maximum number of parallel requests that can be sent to each instance in a transform job.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.
-
getMaxPayload
Maximum allowed size of the payload, in MB.Default: 6
-
getModelClientOptions
Configures the timeout and maximum number of retries for processing a transform job invocation.Default: - 0 retries and 60 seconds of timeout
-
getRole
Role for the Transform Job.Default: - A role is created with `AmazonSageMakerFullAccess` managed policy
-
getTags
Tags to be applied to the train job.Default: - No tags
-
getTransformResources
ML compute instances for the transform job.Default: - 1 instance of type M4.XLarge
-
builder
-