/AWS1/CL_RBNRETENTIONPERIOD¶
Information about the retention period for which the retention rule is to retain resources.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_retentionperiodvalue TYPE /AWS1/RBNRETENTIONPERIODVALUE /AWS1/RBNRETENTIONPERIODVALUE¶
The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are:
EBS volumes: 1 - 7 days
EBS snapshots and EBS-backed AMIs: 1 - 365 days
iv_retentionperiodunit TYPE /AWS1/RBNRETENTIONPERIODUNIT /AWS1/RBNRETENTIONPERIODUNIT¶
The unit of time in which the retention period is measured. Currently, only
DAYSis supported.
Queryable Attributes¶
RetentionPeriodValue¶
The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are:
EBS volumes: 1 - 7 days
EBS snapshots and EBS-backed AMIs: 1 - 365 days
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETENTIONPERIODVALUE() |
Getter for RETENTIONPERIODVALUE, with configurable default |
ASK_RETENTIONPERIODVALUE() |
Getter for RETENTIONPERIODVALUE w/ exceptions if field has n |
HAS_RETENTIONPERIODVALUE() |
Determine if RETENTIONPERIODVALUE has a value |
RetentionPeriodUnit¶
The unit of time in which the retention period is measured. Currently, only
DAYSis supported.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETENTIONPERIODUNIT() |
Getter for RETENTIONPERIODUNIT, with configurable default |
ASK_RETENTIONPERIODUNIT() |
Getter for RETENTIONPERIODUNIT w/ exceptions if field has no |
HAS_RETENTIONPERIODUNIT() |
Determine if RETENTIONPERIODUNIT has a value |