Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)


The number of units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is maintain, you can specify a target capacity of 0 and add capacity later.



The default TotalTargetCapacity, which is either Spot or On-Demand.

Type: String

Valid Values: spot | on-demand

Required: No


The number of On-Demand units to request.

Type: Integer

Required: No


The maximum number of Spot units to launch.

Type: Integer

Required: No


The number of units to request, filled using DefaultTargetCapacityType.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: