Class: Aws::EC2::Types::CreateFleetInstance

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

Overview

Describes the instances that were launched by the fleet.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idsArray<String>

The IDs of the instances.

Returns:

  • (Array<String>)


7855
7856
7857
7858
7859
7860
7861
7862
7863
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7855

class CreateFleetInstance < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :instance_ids,
  :instance_type,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type.

Returns:

  • (String)


7855
7856
7857
7858
7859
7860
7861
7862
7863
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7855

class CreateFleetInstance < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :instance_ids,
  :instance_type,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#launch_template_and_overridesTypes::LaunchTemplateAndOverridesResponse

The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.



7855
7856
7857
7858
7859
7860
7861
7862
7863
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7855

class CreateFleetInstance < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :instance_ids,
  :instance_type,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycleString

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

Returns:

  • (String)


7855
7856
7857
7858
7859
7860
7861
7862
7863
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7855

class CreateFleetInstance < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :instance_ids,
  :instance_type,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#platformString

The value is windows for Windows instances in an EC2 Fleet. Otherwise, the value is blank.

Returns:

  • (String)


7855
7856
7857
7858
7859
7860
7861
7862
7863
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7855

class CreateFleetInstance < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :instance_ids,
  :instance_type,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end