Class CfnModelPackage.TransformJobDefinitionProperty
Defines the input needed to run a transform job using the inference specification specified in the algorithm.
Inheritance
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class TransformJobDefinitionProperty : Object, CfnModelPackage.ITransformJobDefinitionProperty
Syntax (vb)
Public Class TransformJobDefinitionProperty
Inherits Object
Implements CfnModelPackage.ITransformJobDefinitionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var transformJobDefinitionProperty = new TransformJobDefinitionProperty {
TransformInput = new TransformInputProperty {
DataSource = new DataSourceProperty {
S3DataSource = new S3DataSourceProperty {
S3DataType = "s3DataType",
S3Uri = "s3Uri"
}
},
// the properties below are optional
CompressionType = "compressionType",
ContentType = "contentType",
SplitType = "splitType"
},
TransformOutput = new TransformOutputProperty {
S3OutputPath = "s3OutputPath",
// the properties below are optional
Accept = "accept",
AssembleWith = "assembleWith",
KmsKeyId = "kmsKeyId"
},
TransformResources = new TransformResourcesProperty {
InstanceCount = 123,
InstanceType = "instanceType",
// the properties below are optional
VolumeKmsKeyId = "volumeKmsKeyId"
},
// the properties below are optional
BatchStrategy = "batchStrategy",
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
MaxConcurrentTransforms = 123,
MaxPayloadInMb = 123
};
Synopsis
Constructors
TransformJobDefinitionProperty() |
Properties
BatchStrategy | A string that determines the number of records included in a single mini-batch. |
Environment | The environment variables to set in the Docker container. |
MaxConcurrentTransforms | The maximum number of parallel requests that can be sent to each instance in a transform job. |
MaxPayloadInMb | The maximum payload size allowed, in MB. |
TransformInput | A description of the input source and the way the transform job consumes it. |
TransformOutput | Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job. |
TransformResources | Identifies the ML compute instances for the transform job. |
Constructors
TransformJobDefinitionProperty()
public TransformJobDefinitionProperty()
Properties
BatchStrategy
A string that determines the number of records included in a single mini-batch.
public string BatchStrategy { get; set; }
Property Value
System.String
Remarks
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.
Environment
The environment variables to set in the Docker container.
public object Environment { get; set; }
Property Value
System.Object
Remarks
We support up to 16 key and values entries in the map.
MaxConcurrentTransforms
The maximum number of parallel requests that can be sent to each instance in a transform job.
public Nullable<double> MaxConcurrentTransforms { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
MaxPayloadInMb
The maximum payload size allowed, in MB.
public Nullable<double> MaxPayloadInMb { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
A payload is the data portion of a record (without metadata).
TransformInput
A description of the input source and the way the transform job consumes it.
public object TransformInput { get; set; }
Property Value
System.Object
Remarks
TransformOutput
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.
public object TransformOutput { get; set; }
Property Value
System.Object
Remarks
TransformResources
Identifies the ML compute instances for the transform job.
public object TransformResources { get; set; }
Property Value
System.Object