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
- data InstanceResizePolicy = InstanceResizePolicy' {}
- newInstanceResizePolicy :: InstanceResizePolicy
- instanceResizePolicy_instancesToProtect :: Lens' InstanceResizePolicy (Maybe [Text])
- instanceResizePolicy_instancesToTerminate :: Lens' InstanceResizePolicy (Maybe [Text])
- instanceResizePolicy_instanceTerminationTimeout :: Lens' InstanceResizePolicy (Maybe Int)
Documentation
data InstanceResizePolicy Source #
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
See: newInstanceResizePolicy
smart constructor.
InstanceResizePolicy' | |
|
Instances
newInstanceResizePolicy :: InstanceResizePolicy Source #
Create a value of InstanceResizePolicy
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:instancesToProtect:InstanceResizePolicy'
, instanceResizePolicy_instancesToProtect
- Specific list of instances to be protected when shrinking an instance
group.
$sel:instancesToTerminate:InstanceResizePolicy'
, instanceResizePolicy_instancesToTerminate
- Specific list of instances to be terminated when shrinking an instance
group.
$sel:instanceTerminationTimeout:InstanceResizePolicy'
, instanceResizePolicy_instanceTerminationTimeout
- Decommissioning timeout override for the specific list of instances to
be terminated.
instanceResizePolicy_instancesToProtect :: Lens' InstanceResizePolicy (Maybe [Text]) Source #
Specific list of instances to be protected when shrinking an instance group.
instanceResizePolicy_instancesToTerminate :: Lens' InstanceResizePolicy (Maybe [Text]) Source #
Specific list of instances to be terminated when shrinking an instance group.
instanceResizePolicy_instanceTerminationTimeout :: Lens' InstanceResizePolicy (Maybe Int) Source #
Decommissioning timeout override for the specific list of instances to be terminated.