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

Class: Aws::EC2::Types::LaunchTemplateHibernationOptionsRequest

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 LaunchTemplateHibernationOptionsRequest data as a hash:

{
  configured: false,
}

Indicates whether the 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.

Instance Attribute Summary collapse

Instance Attribute Details

#configuredBoolean

If you set this parameter to true, the instance is enabled for hibernation.

Default: false

Returns:

  • (Boolean)


24637
24638
24639
24640
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24637

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