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

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

Overview

Contains the parameters for ModifySpotFleetRequest.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#context ⇒ String

Reserved.

Returns:

  • (String)


73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 73131

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

#excess_capacity_termination_policy ⇒ String

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)


73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 73131

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

#launch_template_configs ⇒ Array<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:



73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 73131

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

#on_demand_target_capacity ⇒ Integer

The number of On-Demand Instances in the fleet.

Returns:

  • (Integer)


73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 73131

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

#spot_fleet_request_id ⇒ String

The ID of the Spot Fleet request.

Returns:

  • (String)


73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 73131

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

#target_capacity ⇒ Integer

The size of the fleet.

Returns:

  • (Integer)


73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 73131

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