Skip to content

CapacityProviderScalingConfig

Source code in docs_src/capo_lambda/types/capacity_provider_scaling_config.py
class CapacityProviderScalingConfig(TypedDict, closed=True):
    max_v_cpu_count: NotRequired[
        "capo_lambda.types.capacity_provider_max_v_cpu_count.CapacityProviderMaxVCpuCount"
    ]
    """<p>The maximum number of vCPUs that the capacity provider can provision across all compute instances.</p>"""
    scaling_mode: NotRequired[
        "capo_lambda.types.capacity_provider_scaling_mode.CapacityProviderScalingMode"
    ]
    """<p>The scaling mode that determines how the capacity provider responds to changes in demand.</p>"""
    scaling_policies: NotRequired[
        "capo_lambda.types.capacity_provider_scaling_policies_list.CapacityProviderScalingPoliciesList"
    ]
    """<p>A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.</p>"""

max_v_cpu_count instance-attribute

max_v_cpu_count: NotRequired[CapacityProviderMaxVCpuCount]

The maximum number of vCPUs that the capacity provider can provision across all compute instances.

scaling_mode instance-attribute

scaling_mode: NotRequired[CapacityProviderScalingMode]

The scaling mode that determines how the capacity provider responds to changes in demand.

scaling_policies instance-attribute

scaling_policies: NotRequired[CapacityProviderScalingPoliciesList]

A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.