AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the resources, including ML compute instances and ML storage volumes, to use for model training.

Inheritance Hierarchy


Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z


public class ResourceConfig

The ResourceConfig type exposes the following members


Public Method ResourceConfig()


Public Property InstanceCount System.Int32

Gets and sets the property InstanceCount.

The number of ML compute instances to use. For distributed training, provide a value greater than 1.

Public Property InstanceType Amazon.SageMaker.TrainingInstanceType

Gets and sets the property InstanceType.

The ML compute instance type.

Public Property VolumeKmsKeyId System.String

Gets and sets the property VolumeKmsKeyId.

The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.

Public Property VolumeSizeInGB System.Int32

Gets and sets the property VolumeSizeInGB.

The size of the ML storage volume that you want to provision.

ML storage volumes store model artifacts and incremental states. Training algorithms might also use the ML storage volume for scratch space. If you want to store the training data in the ML storage volume, choose File as the TrainingInputMode in the algorithm specification.

You must specify sufficient ML storage for your scenario.

Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume type.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms