You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::ModifySpotFleetRequestRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifySpotFleetRequestRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  excess_capacity_termination_policy: "noTermination", # accepts noTermination, default
  spot_fleet_request_id: "String", # required
  target_capacity: 1,
}

Contains the parameters for ModifySpotFleetRequest.

Instance Attribute Summary collapse

Instance Attribute Details

#excess_capacity_termination_policyString

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.

Possible values:

  • noTermination
  • default

Returns:

  • (String)

    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.

#spot_fleet_request_idString

The ID of the Spot fleet request.

Returns:

  • (String)

    The ID of the Spot fleet request.

#target_capacityInteger

The size of the fleet.

Returns:

  • (Integer)

    The size of the fleet.