class
Amazonite::Lambda::CapacityProviderScalingConfig
- Amazonite::Lambda::CapacityProviderScalingConfig
- Reference
- Object
Overview
Configuration that defines how the capacity provider scales compute instances based on demand and policies.
Included Modules
- JSON::Serializable
Defined in:
lambda/capacity_provider_scaling_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(max_v_cpu_count : Int32 | Nil = nil, scaling_mode : CapacityProviderScalingMode | Nil = nil, scaling_policies : Array(TargetTrackingScalingPolicy) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#max_v_cpu_count : Int32 | Nil
The maximum number of vCPUs that the capacity provider can provision across all compute instances.
-
#max_v_cpu_count=(max_v_cpu_count : Int32 | Nil)
The maximum number of vCPUs that the capacity provider can provision across all compute instances.
-
#scaling_mode : CapacityProviderScalingMode | Nil
The scaling mode that determines how the capacity provider responds to changes in demand.
-
#scaling_mode=(scaling_mode : CapacityProviderScalingMode | Nil)
The scaling mode that determines how the capacity provider responds to changes in demand.
-
#scaling_policies : Array(TargetTrackingScalingPolicy) | Nil
A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.
-
#scaling_policies=(scaling_policies : Array(TargetTrackingScalingPolicy) | Nil)
A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The maximum number of vCPUs that the capacity provider can provision across all compute instances.
The maximum number of vCPUs that the capacity provider can provision across all compute instances.
The scaling mode that determines how the capacity provider responds to changes in demand.
The scaling mode that determines how the capacity provider responds to changes in demand.
A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.
A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.