| 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.ElasticBeanstalk.Types.MaxCountRule
Description
Synopsis
Documentation
data MaxCountRule Source #
A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.
See: newMaxCountRule smart constructor.
Constructors
| MaxCountRule' | |
Fields
| |
Instances
Arguments
| :: Bool | |
| -> MaxCountRule |
Create a value of MaxCountRule 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:deleteSourceFromS3:MaxCountRule', maxCountRule_deleteSourceFromS3 - Set to true to delete a version's source bundle from Amazon S3 when
Elastic Beanstalk deletes the application version.
$sel:maxCount:MaxCountRule', maxCountRule_maxCount - Specify the maximum number of application versions to retain.
$sel:enabled:MaxCountRule', maxCountRule_enabled - Specify true to apply the rule, or false to disable it.
maxCountRule_deleteSourceFromS3 :: Lens' MaxCountRule (Maybe Bool) Source #
Set to true to delete a version's source bundle from Amazon S3 when
Elastic Beanstalk deletes the application version.
maxCountRule_maxCount :: Lens' MaxCountRule (Maybe Int) Source #
Specify the maximum number of application versions to retain.
maxCountRule_enabled :: Lens' MaxCountRule Bool Source #
Specify true to apply the rule, or false to disable it.