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

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

Overview

Contains the parameters for ModifySpotFleetRequest.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contextString

Reserved.

Returns:

  • (String)


48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
# File 'lib/aws-sdk-ec2/types.rb', line 48360

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

#excess_capacity_termination_policyString

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`.

Returns:

  • (String)


48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
# File 'lib/aws-sdk-ec2/types.rb', line 48360

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

#launch_template_configsArray<Types::LaunchTemplateConfig>

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.

Returns:



48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
# File 'lib/aws-sdk-ec2/types.rb', line 48360

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

#on_demand_target_capacityInteger

The number of On-Demand Instances in the fleet.

Returns:

  • (Integer)


48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
# File 'lib/aws-sdk-ec2/types.rb', line 48360

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

#spot_fleet_request_idString

The ID of the Spot Fleet request.

Returns:

  • (String)


48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
# File 'lib/aws-sdk-ec2/types.rb', line 48360

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

#target_capacityInteger

The size of the fleet.

Returns:

  • (Integer)


48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
# File 'lib/aws-sdk-ec2/types.rb', line 48360

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