| 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.MaxAgeRule
Description
Synopsis
Documentation
data MaxAgeRule Source #
A lifecycle rule that deletes application versions after the specified number of days.
See: newMaxAgeRule smart constructor.
Constructors
| MaxAgeRule' | |
Fields
| |
Instances
Arguments
| :: Bool | |
| -> MaxAgeRule |
Create a value of MaxAgeRule 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:MaxAgeRule', maxAgeRule_deleteSourceFromS3 - Set to true to delete a version's source bundle from Amazon S3 when
Elastic Beanstalk deletes the application version.
$sel:maxAgeInDays:MaxAgeRule', maxAgeRule_maxAgeInDays - Specify the number of days to retain an application versions.
$sel:enabled:MaxAgeRule', maxAgeRule_enabled - Specify true to apply the rule, or false to disable it.
maxAgeRule_deleteSourceFromS3 :: Lens' MaxAgeRule (Maybe Bool) Source #
Set to true to delete a version's source bundle from Amazon S3 when
Elastic Beanstalk deletes the application version.
maxAgeRule_maxAgeInDays :: Lens' MaxAgeRule (Maybe Int) Source #
Specify the number of days to retain an application versions.
maxAgeRule_enabled :: Lens' MaxAgeRule Bool Source #
Specify true to apply the rule, or false to disable it.