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

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

Overview

Describes the instances that were launched by the fleet.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idsArray<String>

The IDs of the instances.

Returns:

  • (Array<String>)


3612
3613
3614
3615
3616
3617
3618
3619
# File 'lib/aws-sdk-ec2/types.rb', line 3612

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

#instance_typeString

The instance type.

Returns:

  • (String)


3612
3613
3614
3615
3616
3617
3618
3619
# File 'lib/aws-sdk-ec2/types.rb', line 3612

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

#launch_template_and_overridesTypes::LaunchTemplateAndOverridesResponse

The launch templates and overrides that were used for launching the instances. Any parameters that you specify in the Overrides override the same parameters in the launch template.



3612
3613
3614
3615
3616
3617
3618
3619
# File 'lib/aws-sdk-ec2/types.rb', line 3612

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

#lifecycleString

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

Returns:

  • (String)


3612
3613
3614
3615
3616
3617
3618
3619
# File 'lib/aws-sdk-ec2/types.rb', line 3612

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

#platformString

The value is ‘Windows` for Windows instances; otherwise blank.

Returns:

  • (String)


3612
3613
3614
3615
3616
3617
3618
3619
# File 'lib/aws-sdk-ec2/types.rb', line 3612

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