AWSEC2HibernationOptionsRequest
Objective-C
@interface AWSEC2HibernationOptionsRequest
Swift
class AWSEC2HibernationOptionsRequest
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
-
Set to
true
to enable your instance for hibernation.For Spot Instances, if you set
Configured
totrue
, either omit theInstanceInterruptionBehavior
parameter (forSpotMarketOptions
), or set it tohibernate
. WhenConfigured
is true:If you omit
InstanceInterruptionBehavior
, it defaults tohibernate
.If you set
InstanceInterruptionBehavior
to a value other thanhibernate
, you’ll get an error.
Default:
false
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable configured;
Swift
var configured: NSNumber? { get set }