Skip to content

TargetCapacitySpecificationRequest

Source code in docs_src/capo_ec2/types/target_capacity_specification_request.py
class TargetCapacitySpecificationRequest(TypedDict, closed=True):
    total_target_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of units to request, filled using the default target capacity type.</p>"""
    on_demand_target_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of On-Demand units to request.</p>"""
    spot_target_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of Spot units to request.</p>"""
    default_target_capacity_type: NotRequired[
        "capo_ec2.types.default_target_capacity_type.DefaultTargetCapacityType"
    ]
    """<p>The default target capacity type.</p>"""
    target_capacity_unit_type: NotRequired[
        "capo_ec2.types.target_capacity_unit_type.TargetCapacityUnitType"
    ]
    """<p>The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.</p> <p>Default: <code>units</code> (the number of instances)</p>"""

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)

total_target_capacity instance-attribute

total_target_capacity: NotRequired[Integer]

The number of units to request, filled using the default target capacity type.