| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AutoScaling.Types.InstanceReusePolicy
Description
Documentation
data InstanceReusePolicy Source #
Describes an instance reuse policy for a warm pool.
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
See: newInstanceReusePolicy smart constructor.
Constructors
| InstanceReusePolicy' | |
Fields
| |
Instances
newInstanceReusePolicy :: InstanceReusePolicy Source #
Create a value of InstanceReusePolicy 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:reuseOnScaleIn:InstanceReusePolicy', instanceReusePolicy_reuseOnScaleIn - Specifies whether instances in the Auto Scaling group can be returned to
the warm pool on scale in.
instanceReusePolicy_reuseOnScaleIn :: Lens' InstanceReusePolicy (Maybe Bool) Source #
Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.