AWS::EC2::Instance HibernationOptions - AWS CloudFormation

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 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 to true, either omit the InstanceInterruptionBehavior parameter (for SpotMarketOptions), or set it to hibernate. When Configured is true:

  • If you omit InstanceInterruptionBehavior, it defaults to hibernate.

  • If you set InstanceInterruptionBehavior to a value other than hibernate, you'll get an error.

Default: false

Required: No

Type: Boolean

Update requires: Replacement