AWSEC2StateReason Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Describes a state change.

  code

The reason code for the state change.

@property (nonatomic, strong) NSString *code

Declared In

AWSEC2Model.h

  message

The message for the state change.

  • [code](#//api/name/code)Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • [code](#//api/name/code)Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • [code](#//api/name/code)Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • [code](#//api/name/code)Client.InternalError: A client error caused the instance to terminate on launch.

  • [code](#//api/name/code)Client.InstanceInitiatedShutdown: The instance was shut down using the [code](#//api/name/code)shutdown -h command from the instance.

  • [code](#//api/name/code)Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • [code](#//api/name/code)Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • [code](#//api/name/code)Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

@property (nonatomic, strong) NSString *message

Declared In

AWSEC2Model.h