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 MaxCountRule Source #
A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.
See: newMaxCountRule
smart constructor.
MaxCountRule' | |
|
Instances
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:maxCount:MaxCountRule'
, maxCountRule_maxCount
- Specify the maximum number of application versions to retain.
$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:enabled:MaxCountRule'
, maxCountRule_enabled
- Specify true
to apply the rule, or false
to disable it.
maxCountRule_maxCount :: Lens' MaxCountRule (Maybe Int) Source #
Specify the maximum number of application versions to retain.
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_enabled :: Lens' MaxCountRule Bool Source #
Specify true
to apply the rule, or false
to disable it.