Interface CfnModelExplainabilityJobDefinition.ClusterConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnModelExplainabilityJobDefinition.ClusterConfigProperty.Jsii$Proxy
Enclosing class:
CfnModelExplainabilityJobDefinition

@Stability(Stable) public static interface CfnModelExplainabilityJobDefinition.ClusterConfigProperty extends software.amazon.jsii.JsiiSerializable
The configuration for the cluster resources used to run the processing job.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sagemaker.*;
 ClusterConfigProperty clusterConfigProperty = ClusterConfigProperty.builder()
         .instanceCount(123)
         .instanceType("instanceType")
         .volumeSizeInGb(123)
         // the properties below are optional
         .volumeKmsKeyId("volumeKmsKeyId")
         .build();
 
  • Method Details

    • getInstanceCount

      @Stability(Stable) @NotNull Number getInstanceCount()
      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.

    • getInstanceType

      @Stability(Stable) @NotNull String getInstanceType()
      The ML compute instance type for the processing job.
    • getVolumeSizeInGb

      @Stability(Stable) @NotNull Number getVolumeSizeInGb()
      The size of the ML storage volume, in gigabytes, that you want to provision.

      You must specify sufficient ML storage for your scenario.

    • getVolumeKmsKeyId

      @Stability(Stable) @Nullable default String getVolumeKmsKeyId()
      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.
    • builder

      Returns:
      a CfnModelExplainabilityJobDefinition.ClusterConfigProperty.Builder of CfnModelExplainabilityJobDefinition.ClusterConfigProperty