This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::EC2::Instance HibernationOptions
Specifies the hibernation options for the instance.
HibernationOptions is a property of the AWS::EC2::Instance resource.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Configured" :Boolean}
YAML
Configured:Boolean
Properties
Configured-
Set to
trueto enable your instance for hibernation.For Spot Instances, if you set
Configuredtotrue, either omit theInstanceInterruptionBehaviorparameter (forSpotMarketOptions), or set it tohibernate. WhenConfiguredis true:-
If you omit
InstanceInterruptionBehavior, it defaults tohibernate. -
If you set
InstanceInterruptionBehaviorto a value other thanhibernate, you'll get an error.
Default:
falseRequired: No
Type: Boolean
Update requires: Replacement
-