Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Parameters' | |
|
Instances
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.