AWSEC2CreateFleetError

Objective-C

@interface AWSEC2CreateFleetError

Swift

class AWSEC2CreateFleetError

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

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable errorCode;

    Swift

    var errorCode: String? { get set }
  • The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable errorMessage;

    Swift

    var errorMessage: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2LaunchTemplateAndOverridesResponse *_Nullable launchTemplateAndOverrides;

    Swift

    var launchTemplateAndOverrides: AWSEC2LaunchTemplateAndOverridesResponse? { get set }
  • Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2InstanceLifecycle lifecycle;

    Swift

    var lifecycle: AWSEC2InstanceLifecycle { get set }