You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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.

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)


20499
20500
20501
20502
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20499

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