Skip to content

InstanceGroupScalingMetadata

Source code in docs_src/capo_sagemaker/types/instance_group_scaling_metadata.py
class InstanceGroupScalingMetadata(TypedDict, closed=True):
    instance_count: NotRequired["capo_sagemaker.types.instance_count.InstanceCount"]
    """<p>The current number of instances in the group.</p>"""
    target_count: NotRequired["capo_sagemaker.types.target_count.TargetCount"]
    """<p>The desired number of instances for the group after scaling.</p>"""
    min_count: NotRequired["capo_sagemaker.types.instance_count.InstanceCount"]
    """<p>Minimum instance count of the instance group.</p>"""
    failure_message: NotRequired["str"]
    """<p>An error message describing why the scaling operation failed, if applicable.</p>"""

failure_message instance-attribute

failure_message: NotRequired[str]

An error message describing why the scaling operation failed, if applicable.

instance_count instance-attribute

instance_count: NotRequired[InstanceCount]

The current number of instances in the group.

min_count instance-attribute

min_count: NotRequired[InstanceCount]

Minimum instance count of the instance group.

target_count instance-attribute

target_count: NotRequired[TargetCount]

The desired number of instances for the group after scaling.