Skip to content

EC2  >  Structures  >  CreateFleetError

CreateFleetError

Structure Class

CreateFleetError dataclass

Bases: _SerdeShape

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

Attributes

error_code class-attribute instance-attribute
error_code: str | None = ...

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

error_message class-attribute instance-attribute
error_message: str | None = ...

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

launch_template_and_overrides class-attribute instance-attribute
launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ...

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.

lifecycle class-attribute instance-attribute
lifecycle: str | None = ...

Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance. If you are using ReservedCapacityOptions with on-demand-capacity-reservation in the ReservationTypes list, the value can also be on-demand-capacity-reservation.