Skip to content

CapacityProviderScalingConfigDict

Dictionary Type

CapacityProviderScalingConfigDict

Bases: TypedDict

Dictionary form of CapacityProviderScalingConfig.

Attributes

max_v_cpu_count instance-attribute
max_v_cpu_count: int | None

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

scaling_mode instance-attribute
scaling_mode: str | None

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

scaling_policies instance-attribute

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