Skip to content

EC2  >  Dictionaries  >  TargetCapacitySpecificationRequestDict

TargetCapacitySpecificationRequestDict

Dictionary Type

TargetCapacitySpecificationRequestDict

Bases: TypedDict

Dictionary form of TargetCapacitySpecificationRequest.

Attributes

default_target_capacity_type instance-attribute
default_target_capacity_type: str | None

The default target capacity type.

on_demand_target_capacity instance-attribute
on_demand_target_capacity: int | None

The number of On-Demand units to request.

spot_target_capacity instance-attribute
spot_target_capacity: int | None

The number of Spot units to request.

target_capacity_unit_type instance-attribute
target_capacity_unit_type: str | None

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: Required[int]

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