Learn R Programming

paws.compute (version 0.7.0)

ec2_modify_spot_fleet_request: Modifies the specified Spot Fleet request

Description

Modifies 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(
  ExcessCapacityTerminationPolicy = NULL,
  LaunchTemplateConfigs = NULL,
  SpotFleetRequestId,
  TargetCapacity = NULL,
  OnDemandTargetCapacity = NULL,
  Context = NULL
)

Arguments

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.

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 specified LaunchSpecifications in your Spot Fleet request, then omit this parameter.

SpotFleetRequestId

[required] The ID of the Spot Fleet request.

TargetCapacity

The size of the fleet.

OnDemandTargetCapacity

The number of On-Demand Instances in the fleet.

Context

Reserved.