You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::CreateFleetError

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

Overview

Describes the instances that could not be launched by the fleet.

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error code that indicates why the instance could not be launched. For more information about error codes, see Error Codes.

Returns:

  • (String)


4652
4653
4654
4655
4656
4657
4658
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4652

class CreateFleetError < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :error_code,
  :error_message)
  include Aws::Structure
end

#error_messageString

The error message that describes why the instance could not be launched. For more information about error messages, see ee Error Codes.

Returns:

  • (String)


4652
4653
4654
4655
4656
4657
4658
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4652

class CreateFleetError < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :error_code,
  :error_message)
  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.



4652
4653
4654
4655
4656
4657
4658
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4652

class CreateFleetError < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :error_code,
  :error_message)
  include Aws::Structure
end

#lifecycleString

Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.

Returns:

  • (String)


4652
4653
4654
4655
4656
4657
4658
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4652

class CreateFleetError < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :error_code,
  :error_message)
  include Aws::Structure
end