Class: Aws::EC2::Types::ModifySpotFleetRequestRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ModifySpotFleetRequestRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Contains the parameters for ModifySpotFleetRequest.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#context ⇒ String
Reserved.
-
#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.
-
#launch_template_configs ⇒ Array<Types::LaunchTemplateConfig>
The launch template and overrides.
-
#on_demand_target_capacity ⇒ Integer
The number of On-Demand Instances in the fleet.
-
#spot_fleet_request_id ⇒ String
The ID of the Spot Fleet request.
-
#target_capacity ⇒ Integer
The size of the fleet.
Instance Attribute Details
#context ⇒ String
Reserved.
49848 49849 49850 49851 49852 49853 49854 49855 49856 49857 |
# File 'lib/aws-sdk-ec2/types.rb', line 49848 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_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`.
49848 49849 49850 49851 49852 49853 49854 49855 49856 49857 |
# File 'lib/aws-sdk-ec2/types.rb', line 49848 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_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.
49848 49849 49850 49851 49852 49853 49854 49855 49856 49857 |
# File 'lib/aws-sdk-ec2/types.rb', line 49848 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_capacity ⇒ Integer
The number of On-Demand Instances in the fleet.
49848 49849 49850 49851 49852 49853 49854 49855 49856 49857 |
# File 'lib/aws-sdk-ec2/types.rb', line 49848 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_id ⇒ String
The ID of the Spot Fleet request.
49848 49849 49850 49851 49852 49853 49854 49855 49856 49857 |
# File 'lib/aws-sdk-ec2/types.rb', line 49848 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_capacity ⇒ Integer
The size of the fleet.
49848 49849 49850 49851 49852 49853 49854 49855 49856 49857 |
# File 'lib/aws-sdk-ec2/types.rb', line 49848 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 |