AWSEC2ModifySpotFleetRequestRequest

Objective-C

@interface AWSEC2ModifySpotFleetRequestRequest

Swift

class AWSEC2ModifySpotFleetRequestRequest

Contains the parameters for ModifySpotFleetRequest.

Required parameters: [SpotFleetRequestId]

  • Reserved.

    Declaration

    Objective-C

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

    Swift

    var context: String? { get set }
  • Indicates whether running instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.

    Supported only for fleets of type maintain.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy;

    Swift

    var excessCapacityTerminationPolicy: AWSEC2ExcessCapacityTerminationPolicy { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2LaunchTemplateConfig *> *_Nullable launchTemplateConfigs;

    Swift

    var launchTemplateConfigs: [AWSEC2LaunchTemplateConfig]? { 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 }