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.

Constant Summary collapse

SENSITIVE =
[]

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)


7645
7646
7647
7648
7649
7650
7651
7652
# File 'lib/aws-sdk-ec2/types.rb', line 7645

class CreateFleetError < Struct.new(
  :launch_template_and_overrides,
  :lifecycle,
  :error_code,
  :error_message)
  SENSITIVE = []
  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 [Error codes].

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

Returns:

  • (String)


7645
7646
7647
7648
7649
7650
7651
7652
# File 'lib/aws-sdk-ec2/types.rb', line 7645

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



7645
7646
7647
7648
7649
7650
7651
7652
# File 'lib/aws-sdk-ec2/types.rb', line 7645

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

#lifecycleString

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

Returns:

  • (String)


7645
7646
7647
7648
7649
7650
7651
7652
# File 'lib/aws-sdk-ec2/types.rb', line 7645

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