TargetCapacitySpecification
¶
Source code in docs_src/capo_ec2/types/target_capacity_specification.py
default_target_capacity_type
instance-attribute
¶
default_target_capacity_type: NotRequired[DefaultTargetCapacityType]
The default target capacity type.
on_demand_target_capacity
instance-attribute
¶
on_demand_target_capacity: NotRequired[Integer]
The number of On-Demand units to request. If you specify a target capacity for Spot units, you cannot specify a target capacity for On-Demand units.
spot_target_capacity
instance-attribute
¶
spot_target_capacity: NotRequired[Integer]
The maximum number of Spot units to launch. If you specify a target capacity for On-Demand units, you cannot specify a target capacity for Spot units.
target_capacity_unit_type
instance-attribute
¶
target_capacity_unit_type: NotRequired[TargetCapacityUnitType]
The unit for the target capacity.