CapacityProviderScalingConfig¶
Structure Class¶
CapacityProviderScalingConfig
dataclass
¶
Configuration that defines how the capacity provider scales compute instances based on demand and policies.
Attributes¶
max_v_cpu_count
class-attribute
instance-attribute
¶
max_v_cpu_count: int | None = None
The maximum number of vCPUs that the capacity provider can provision across all compute instances.
scaling_mode
class-attribute
instance-attribute
¶
scaling_mode: CapacityProviderScalingMode | None = None
The scaling mode that determines how the capacity provider responds to changes in demand.
scaling_policies
class-attribute
instance-attribute
¶
scaling_policies: list[TargetTrackingScalingPolicy] | None = None
A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.