/AWS1/CL_EBNMAXCOUNTRULE¶
A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_enabled
TYPE /AWS1/EBNBOXEDBOOLEAN
/AWS1/EBNBOXEDBOOLEAN
¶
Specify
true
to apply the rule, orfalse
to disable it.
Optional arguments:¶
iv_maxcount
TYPE /AWS1/EBNBOXEDINT
/AWS1/EBNBOXEDINT
¶
Specify the maximum number of application versions to retain.
iv_deletesourcefroms3
TYPE /AWS1/EBNBOXEDBOOLEAN
/AWS1/EBNBOXEDBOOLEAN
¶
Set to
true
to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
Queryable Attributes¶
Enabled¶
Specify
true
to apply the rule, orfalse
to 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 |
MaxCount¶
Specify the maximum number of application versions to retain.
Accessible with the following methods¶
Method | Description |
---|---|
GET_MAXCOUNT() |
Getter for MAXCOUNT, with configurable default |
ASK_MAXCOUNT() |
Getter for MAXCOUNT w/ exceptions if field has no value |
HAS_MAXCOUNT() |
Determine if MAXCOUNT has a value |
DeleteSourceFromS3¶
Set to
true
to 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 |