/AWS1/CL_EBNMAXAGERULE¶
A lifecycle rule that deletes application versions after the specified number of days.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_enabled TYPE /AWS1/EBNBOXEDBOOLEAN /AWS1/EBNBOXEDBOOLEAN¶
Specify
trueto apply the rule, orfalseto disable it.
Optional arguments:¶
iv_maxageindays TYPE /AWS1/EBNBOXEDINT /AWS1/EBNBOXEDINT¶
Specify the number of days to retain an application versions.
iv_deletesourcefroms3 TYPE /AWS1/EBNBOXEDBOOLEAN /AWS1/EBNBOXEDBOOLEAN¶
Set to
trueto delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
Queryable Attributes¶
Enabled¶
Specify
trueto apply the rule, orfalseto disable it.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENABLED() |
Getter for ENABLED, with configurable default |
ASK_ENABLED() |
Getter for ENABLED w/ exceptions if field has no value |
HAS_ENABLED() |
Determine if ENABLED has a value |
MaxAgeInDays¶
Specify the number of days to retain an application versions.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXAGEINDAYS() |
Getter for MAXAGEINDAYS, with configurable default |
ASK_MAXAGEINDAYS() |
Getter for MAXAGEINDAYS w/ exceptions if field has no value |
HAS_MAXAGEINDAYS() |
Determine if MAXAGEINDAYS has a value |
DeleteSourceFromS3¶
Set to
trueto delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DELETESOURCEFROMS3() |
Getter for DELETESOURCEFROMS3, with configurable default |
ASK_DELETESOURCEFROMS3() |
Getter for DELETESOURCEFROMS3 w/ exceptions if field has no |
HAS_DELETESOURCEFROMS3() |
Determine if DELETESOURCEFROMS3 has a value |