Skip to content
v2.274.0

ClusterAutoScalingConfigProperty Struct ​

Specifies the autoscaling configuration for a HyperPod cluster.

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 clusterAutoScalingConfigProperty: sagemaker.CfnCluster.ClusterAutoScalingConfigProperty = {
  mode: 'mode',

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

Properties ​

autoScalerTypestringauto_scaler_typestrautoScalerTypeStringAutoScalerTypestringAutoScalerType*string= "Karpenter"#
The type of autoscaler to use.

Currently supported value is Karpenter .

modestringmodestrmodeStringModestringMode*stringrequired#
Describes whether autoscaling is enabled or disabled for the cluster.

Valid values are Enable and Disable .