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 ShrinkPolicy Source #
Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.
See: newShrinkPolicy
smart constructor.
ShrinkPolicy' | |
|
Instances
newShrinkPolicy :: ShrinkPolicy Source #
Create a value of ShrinkPolicy
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:decommissionTimeout:ShrinkPolicy'
, shrinkPolicy_decommissionTimeout
- The desired timeout for decommissioning an instance. Overrides the
default YARN decommissioning timeout.
$sel:instanceResizePolicy:ShrinkPolicy'
, shrinkPolicy_instanceResizePolicy
- Custom policy for requesting termination protection or termination of
specific instances when shrinking an instance group.
shrinkPolicy_decommissionTimeout :: Lens' ShrinkPolicy (Maybe Int) Source #
The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.
shrinkPolicy_instanceResizePolicy :: Lens' ShrinkPolicy (Maybe InstanceResizePolicy) Source #
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.