Skip to content
v2.274.0

ClusterConfigProperty Struct ​

The configuration for the cluster resources used to run the processing job.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clusterConfigProperty: sagemaker.CfnModelExplainabilityJobDefinition.ClusterConfigProperty = {
  instanceCount: 123,
  instanceType: 'instanceType',
  volumeSizeInGb: 123,

  // the properties below are optional
  volumeKmsKeyId: 'volumeKmsKeyId',
};

Properties ​

instanceCountnumberinstance_countint | floatinstanceCountNumberInstanceCountdoubleInstanceCount*float64required#
The number of ML compute instances to use in the model monitoring job.

For distributed processing jobs, specify a value greater than 1. The default value is 1.

instanceTypestringinstance_typestrinstanceTypeStringInstanceTypestringInstanceType*stringrequired#
The ML compute instance type for the processing job.
volumeKmsKeyIdstringvolume_kms_key_idstrvolumeKmsKeyIdStringVolumeKmsKeyIdstringVolumeKmsKeyId*string#
The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job.
volumeSizeInGbnumbervolume_size_in_gbint | floatvolumeSizeInGbNumberVolumeSizeInGbdoubleVolumeSizeInGb*float64required#
The size of the ML storage volume, in gigabytes, that you want to provision.

You must specify sufficient ML storage for your scenario.