Class: Aws::EC2::Types::HibernationOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::HibernationOptionsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
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 instance] in the *Amazon EC2 User Guide*.
[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html [2]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#configured ⇒ Boolean
Set to ‘true` to enable your instance for hibernation.
Instance Attribute Details
#configured ⇒ Boolean
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` ][1]), 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`
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotMarketOptions.html
36324 36325 36326 36327 36328 |
# File 'lib/aws-sdk-ec2/types.rb', line 36324 class HibernationOptionsRequest < Struct.new( :configured) SENSITIVE = [] include Aws::Structure end |