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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ModifySpotFleetRequestRequest data as a hash:

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

Contains the parameters for ModifySpotFleetRequest.

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)


35211
35212
35213
35214
35215
35216
35217
35218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35211

class ModifySpotFleetRequestRequest < Struct.new(
  :excess_capacity_termination_policy,
  :spot_fleet_request_id,
  :target_capacity,
  :on_demand_target_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#on_demand_target_capacityInteger

The number of On-Demand Instances in the fleet.

Returns:

  • (Integer)


35211
35212
35213
35214
35215
35216
35217
35218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35211

class ModifySpotFleetRequestRequest < Struct.new(
  :excess_capacity_termination_policy,
  :spot_fleet_request_id,
  :target_capacity,
  :on_demand_target_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#spot_fleet_request_idString

The ID of the Spot Fleet request.

Returns:

  • (String)


35211
35212
35213
35214
35215
35216
35217
35218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35211

class ModifySpotFleetRequestRequest < Struct.new(
  :excess_capacity_termination_policy,
  :spot_fleet_request_id,
  :target_capacity,
  :on_demand_target_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#target_capacityInteger

The size of the fleet.

Returns:

  • (Integer)


35211
35212
35213
35214
35215
35216
35217
35218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35211

class ModifySpotFleetRequestRequest < Struct.new(
  :excess_capacity_termination_policy,
  :spot_fleet_request_id,
  :target_capacity,
  :on_demand_target_capacity)
  SENSITIVE = []
  include Aws::Structure
end