Skip to content

ClusterAutoScalingConfig

Source code in docs_src/capo_sagemaker/types/cluster_auto_scaling_config.py
class ClusterAutoScalingConfig(TypedDict, closed=True):
    mode: "capo_sagemaker.types.cluster_auto_scaling_mode.ClusterAutoScalingMode"
    """<p>Describes whether autoscaling is enabled or disabled for the cluster. Valid values are <code>Enable</code> and <code>Disable</code>.</p>"""
    auto_scaler_type: NotRequired[
        "capo_sagemaker.types.cluster_auto_scaler_type.ClusterAutoScalerType"
    ]
    """<p>The type of autoscaler to use. Currently supported value is <code>Karpenter</code>.</p>"""

auto_scaler_type instance-attribute

auto_scaler_type: NotRequired[ClusterAutoScalerType]

The type of autoscaler to use. Currently supported value is Karpenter.

mode instance-attribute

Describes whether autoscaling is enabled or disabled for the cluster. Valid values are Enable and Disable.