TargetCapacitySpecification
public struct TargetCapacitySpecification : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The default TotalTargetCapacity, which is either Spot or On-Demand.
Declaration
Swift
public let defaultTargetCapacityType: DefaultTargetCapacityType?
-
The number of On-Demand units to request. If you specify a target capacity for Spot units, you cannot specify a target capacity for On-Demand units.
Declaration
Swift
public let onDemandTargetCapacity: Int?
-
The maximum number of Spot units to launch. If you specify a target capacity for On-Demand units, you cannot specify a target capacity for Spot units.
Declaration
Swift
public let spotTargetCapacity: Int?
-
The number of units to request, filled using DefaultTargetCapacityType.
Declaration
Swift
public let totalTargetCapacity: Int?
-
Undocumented
Declaration
Swift
public init(defaultTargetCapacityType: DefaultTargetCapacityType? = nil, onDemandTargetCapacity: Int? = nil, spotTargetCapacity: Int? = nil, totalTargetCapacity: Int? = nil)