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

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 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.

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

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)


24170
24171
24172
24173
# File 'lib/aws-sdk-ec2/types.rb', line 24170

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