Show / Hide Table of Contents

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

InstanceCount

Number of ML compute instances to use in the transform job.

InstanceType

ML compute instance type for the transform job.

VolumeEncryptionKey

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

double

Remarks

ExampleMetadata: infused

InstanceType

ML compute instance type for the transform job.

InstanceType InstanceType { get; }
Property Value

InstanceType

Remarks

ExampleMetadata: infused

VolumeEncryptionKey

AWS KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s).

IKey? VolumeEncryptionKey { get; }
Property Value

IKey

Remarks

Default: - None

Back to top Generated by DocFX