Modifies the specified Spot Fleet request
Source:R/ec2_operations.R
ec2_modify_spot_fleet_request.RdModifies the specified Spot Fleet request.
See https://www.paws-r-sdk.com/docs/ec2_modify_spot_fleet_request/ for full documentation.
Usage
ec2_modify_spot_fleet_request(
LaunchTemplateConfigs = NULL,
OnDemandTargetCapacity = NULL,
Context = NULL,
SpotFleetRequestId,
TargetCapacity = NULL,
ExcessCapacityTerminationPolicy = NULL
)Arguments
- LaunchTemplateConfigs
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 specifiedLaunchSpecificationsin your Spot Fleet request, then omit this parameter.- OnDemandTargetCapacity
The number of On-Demand Instances in the fleet.
- Context
Reserved.
- SpotFleetRequestId
[required] The ID of the Spot Fleet request.
- TargetCapacity
The size of the fleet.
- ExcessCapacityTerminationPolicy
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.