Class: Aws::EC2::Types::ModifyFleetRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#context ⇒ String

Reserved.

Returns:

  • (String)


65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 65802

class ModifyFleetRequest < Struct.new(
  :dry_run,
  :excess_capacity_termination_policy,
  :launch_template_configs,
  :fleet_id,
  :target_capacity_specification,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#dry_run ⇒ Boolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 65802

class ModifyFleetRequest < Struct.new(
  :dry_run,
  :excess_capacity_termination_policy,
  :launch_template_configs,
  :fleet_id,
  :target_capacity_specification,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#excess_capacity_termination_policy ⇒ String

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Supported only for fleets of type maintain.

Returns:

  • (String)


65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 65802

class ModifyFleetRequest < Struct.new(
  :dry_run,
  :excess_capacity_termination_policy,
  :launch_template_configs,
  :fleet_id,
  :target_capacity_specification,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#fleet_id ⇒ String

The ID of the EC2 Fleet.

Returns:

  • (String)


65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 65802

class ModifyFleetRequest < Struct.new(
  :dry_run,
  :excess_capacity_termination_policy,
  :launch_template_configs,
  :fleet_id,
  :target_capacity_specification,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#launch_template_configs ⇒ Array<Types::FleetLaunchTemplateConfigRequest>

The launch template and overrides.



65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 65802

class ModifyFleetRequest < Struct.new(
  :dry_run,
  :excess_capacity_termination_policy,
  :launch_template_configs,
  :fleet_id,
  :target_capacity_specification,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#target_capacity_specification ⇒ Types::TargetCapacitySpecificationRequest

The size of the EC2 Fleet.



65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 65802

class ModifyFleetRequest < Struct.new(
  :dry_run,
  :excess_capacity_termination_policy,
  :launch_template_configs,
  :fleet_id,
  :target_capacity_specification,
  :context)
  SENSITIVE = []
  include Aws::Structure
end