AWSEC2ModifySpotFleetRequestRequest

Objective-C

@interface AWSEC2ModifySpotFleetRequestRequest

Swift

class AWSEC2ModifySpotFleetRequestRequest

Contains the parameters for ModifySpotFleetRequest.

Required parameters: [SpotFleetRequestId]

  • 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

    Objective-C

    @property (nonatomic) AWSEC2ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy;

    Swift

    var excessCapacityTerminationPolicy: AWSEC2ExcessCapacityTerminationPolicy { get set }
  • The number of On-Demand Instances in the fleet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable onDemandTargetCapacity;

    Swift

    var onDemandTargetCapacity: NSNumber? { get set }
  • The ID of the Spot Fleet request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable spotFleetRequestId;

    Swift

    var spotFleetRequestId: String? { get set }
  • The size of the fleet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable targetCapacity;

    Swift

    var targetCapacity: NSNumber? { get set }