Interface ITransformResources
ML compute instances for the transform job.
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITransformResources
Syntax (vb)
Public Interface ITransformResources
Remarks
ExampleMetadata: infused
Examples
new SageMakerCreateTransformJob(this, "Batch Inference", new SageMakerCreateTransformJobProps {
TransformJobName = "MyTransformJob",
ModelName = "MyModelName",
ModelClientOptions = new ModelClientOptions {
InvocationsMaxRetries = 3, // default is 0
InvocationsTimeout = Duration.Minutes(5)
},
TransformInput = new TransformInput {
TransformDataSource = new TransformDataSource {
S3DataSource = new TransformS3DataSource {
S3Uri = "s3://inputbucket/train",
S3DataType = S3DataType.S3_PREFIX
}
}
},
TransformOutput = new TransformOutput {
S3OutputPath = "s3://outputbucket/TransformJobOutputPath"
},
TransformResources = new TransformResources {
InstanceCount = 1,
InstanceType = InstanceType.Of(InstanceClass.M4, InstanceSize.XLARGE)
}
});
Synopsis
Properties
Instance |
Number of ML compute instances to use in the transform job. |
Instance |
ML compute instance type for the transform job. |
Volume |
AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s). |
Properties
InstanceCount
Number of ML compute instances to use in the transform job.
double InstanceCount { get; }
Property Value
System.
InstanceType
ML compute instance type for the transform job.
InstanceType InstanceType { get; }
Property Value
VolumeEncryptionKey
AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s).
virtual IKey VolumeEncryptionKey { get; }
Property Value
Remarks
Default: - None