Specifies the hibernation options for the instance.
HibernationOptions
is a property of the AWS::EC2::Instance resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Configured" : Boolean
}
YAML
Configured: Boolean
Properties
Configured
-
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
Required: No
Type: Boolean
Update requires: Replacement
-