AWSEC2InstanceState
Objective-C
@interface AWSEC2InstanceState
Swift
class AWSEC2InstanceState
Describes the current state of an instance.
-
The state of the instance as a 16-bit unsigned integer.
The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values between 256 and 65,535. These numerical values are used for internal purposes and should be ignored.
The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values between 0 and 255.
The valid values for instance-state-code will all be in the range of the low byte and they are:
0:pending16:running32:shutting-down48:terminated64:stopping80:stopped
You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in decimal.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable code;Swift
var code: NSNumber? { get set } -
The current state of the instance.
Declaration
Objective-C
@property (nonatomic) AWSEC2InstanceStateName name;Swift
var name: AWSEC2InstanceStateName { get set }
View on GitHub
Install in Dash
AWSEC2InstanceState Class Reference