Class: Aws::EC2::Types::HibernationOptionsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass HibernationOptionsRequest data as a hash:

{
  configured: false,
}

Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the [hibernation prerequisites]. Hibernation is currently supported only for Amazon Linux. For more information, see [Hibernate Your Instance] in the *Amazon Elastic Compute Cloud User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites [2]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html

Instance Attribute Summary collapse

Instance Attribute Details

#configuredBoolean

If you set this parameter to ‘true`, your instance is enabled for hibernation.

Default: ‘false`

Returns:

  • (Boolean)


20503
20504
20505
20506
# File 'lib/aws-sdk-ec2/types.rb', line 20503

class HibernationOptionsRequest < Struct.new(
  :configured)
  include Aws::Structure
end