TargetCapacitySpecificationRequest
¶
Used by
-
AsyncEC2Client Operations -
EC2Client Operations
Source code in docs_src/capo_ec2/types/target_capacity_specification_request.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.
spot_target_capacity
instance-attribute
¶
spot_target_capacity: NotRequired[Integer]
The number of Spot units to request.
target_capacity_unit_type
instance-attribute
¶
target_capacity_unit_type: NotRequired[TargetCapacityUnitType]
The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.
Default: units (the number of instances)