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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html

Returns:

  • (String)


4563
4564
4565
4566
4567
4568
4569
# File 'lib/aws-sdk-ec2/types.rb', line 4563

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].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html

Returns:

  • (String)


4563
4564
4565
4566
4567
4568
4569
# File 'lib/aws-sdk-ec2/types.rb', line 4563

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.



4563
4564
4565
4566
4567
4568
4569
# File 'lib/aws-sdk-ec2/types.rb', line 4563

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)


4563
4564
4565
4566
4567
4568
4569
# File 'lib/aws-sdk-ec2/types.rb', line 4563

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