amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.HibernationOptions

Description

 
Synopsis

Documentation

data HibernationOptions Source #

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 instance in the Amazon EC2 User Guide.

See: newHibernationOptions smart constructor.

Constructors

HibernationOptions' 

Fields

  • configured :: Maybe Bool

    If this parameter is set to true, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.

Instances

Instances details
FromXML HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

Generic HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

Associated Types

type Rep HibernationOptions :: Type -> Type #

Read HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

Show HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

NFData HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

Methods

rnf :: HibernationOptions -> () #

Eq HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

Hashable HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

type Rep HibernationOptions Source # 
Instance details

Defined in Amazonka.EC2.Types.HibernationOptions

type Rep HibernationOptions = D1 ('MetaData "HibernationOptions" "Amazonka.EC2.Types.HibernationOptions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "HibernationOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configured") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newHibernationOptions :: HibernationOptions Source #

Create a value of HibernationOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:configured:HibernationOptions', hibernationOptions_configured - If this parameter is set to true, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.

hibernationOptions_configured :: Lens' HibernationOptions (Maybe Bool) Source #

If this parameter is set to true, your instance is enabled for hibernation; otherwise, it is not enabled for hibernation.