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

TargetCapacitySpecificationRequest

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.

Contents

DefaultTargetCapacityType

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

Type: String

Valid Values: spot | on-demand

Required: No

OnDemandTargetCapacity

The number of On-Demand units to request.

Type: Integer

Required: No

SpotTargetCapacity

The number of Spot units to request.

Type: Integer

Required: No

TotalTargetCapacity

The number of units to request, filled using DefaultTargetCapacityType.

Type: Integer

Required: Yes

See Also

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

On this page: