libZSservicesZSamazonka-dlmZSamazonka-dlm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DLM.Types.Parameters

Description

 
Synopsis

Documentation

data Parameters Source #

Specifies optional parameters to add to a policy. The set of valid parameters depends on the combination of policy type and resource type.

See: newParameters smart constructor.

Constructors

Parameters' 

Fields

  • noReboot :: Maybe Bool

    Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).

  • excludeBootVolume :: Maybe Bool
    EBS Snapshot Management – Instance policies only
    Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.

Instances

Instances details
Eq Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Read Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Show Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Generic Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Associated Types

type Rep Parameters :: Type -> Type #

NFData Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

Methods

rnf :: Parameters -> () #

Hashable Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

ToJSON Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

FromJSON Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

type Rep Parameters Source # 
Instance details

Defined in Amazonka.DLM.Types.Parameters

type Rep Parameters = D1 ('MetaData "Parameters" "Amazonka.DLM.Types.Parameters" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "Parameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "noReboot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "excludeBootVolume") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newParameters :: Parameters Source #

Create a value of Parameters 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:noReboot:Parameters', parameters_noReboot - Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).

$sel:excludeBootVolume:Parameters', parameters_excludeBootVolume - [EBS Snapshot Management – Instance policies only] Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.

parameters_noReboot :: Lens' Parameters (Maybe Bool) Source #

Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).

parameters_excludeBootVolume :: Lens' Parameters (Maybe Bool) Source #

EBS Snapshot Management – Instance policies only
Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.