ComputeLimits class
The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster can not be above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Constructors
- ComputeLimits({required int maximumCapacityUnits, required int minimumCapacityUnits, required ComputeLimitsUnitType unitType, int? maximumCoreCapacityUnits, int? maximumOnDemandCapacityUnits})
-
ComputeLimits.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximumCapacityUnits → int
-
The upper boundary of EC2 units. It is measured through vCPU cores or
instances for instance groups and measured through units for instance
fleets. Managed scaling activities are not allowed beyond this boundary. The
limit only applies to the core and task nodes. The master node cannot be
scaled after initial configuration.
final
- maximumCoreCapacityUnits → int?
-
The upper boundary of EC2 units for core node type in a cluster. It is
measured through vCPU cores or instances for instance groups and measured
through units for instance fleets. The core units are not allowed to scale
beyond this boundary. The parameter is used to split capacity allocation
between core and task nodes.
final
- maximumOnDemandCapacityUnits → int?
-
The upper boundary of On-Demand EC2 units. It is measured through vCPU cores
or instances for instance groups and measured through units for instance
fleets. The On-Demand units are not allowed to scale beyond this boundary.
The parameter is used to split capacity allocation between On-Demand and
Spot Instances.
final
- minimumCapacityUnits → int
-
The lower boundary of EC2 units. It is measured through vCPU cores or
instances for instance groups and measured through units for instance
fleets. Managed scaling activities are not allowed beyond this boundary. The
limit only applies to the core and task nodes. The master node cannot be
scaled after initial configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unitType → ComputeLimitsUnitType
-
The unit type used for specifying a managed scaling policy.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited