Class: Aws::EC2::Types::HibernationOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::HibernationOptionsRequest
- Defined in:
- gems/aws-sdk-ec2/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 Amazon EC2 instance in the Amazon EC2 User Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#configured ⇒ Boolean
Set to
trueto 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 ), or set it to hibernate. When
Configured is true:
If you omit
InstanceInterruptionBehavior, it defaults tohibernate.If you set
InstanceInterruptionBehaviorto a value other thanhibernate, you'll get an error.
Default: false
46241 46242 46243 46244 46245 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 46241 class HibernationOptionsRequest < Struct.new( :configured) SENSITIVE = [] include Aws::Structure end |