ModifySpotFleetRequestRequest
public struct ModifySpotFleetRequestRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Indicates whether running Spot Instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
Declaration
Swift
public let excessCapacityTerminationPolicy: ExcessCapacityTerminationPolicy?
-
The launch template and overrides. You can only use this parameter if you specified a launch template (LaunchTemplateConfigs) in your Spot Fleet request. If you specified LaunchSpecifications in your Spot Fleet request, then omit this parameter.
Declaration
Swift
public let launchTemplateConfigs: [LaunchTemplateConfig]?
-
The number of On-Demand Instances in the fleet.
Declaration
Swift
public let onDemandTargetCapacity: Int?
-
The ID of the Spot Fleet request.
Declaration
Swift
public let spotFleetRequestId: String
-
The size of the fleet.
Declaration
Swift
public let targetCapacity: Int?
-
init(excessCapacityTerminationPolicy:launchTemplateConfigs:onDemandTargetCapacity:spotFleetRequestId:targetCapacity:)
Undocumented
Declaration
Swift
public init(excessCapacityTerminationPolicy: ExcessCapacityTerminationPolicy? = nil, launchTemplateConfigs: [LaunchTemplateConfig]? = nil, onDemandTargetCapacity: Int? = nil, spotFleetRequestId: String, targetCapacity: Int? = nil)
-
Declaration
Swift
public func validate(name: String) throws