RetentionPeriod
Information about the retention period for which the retention rule is to retain resources.
Contents
- RetentionPeriodUnit
-
The unit of time in which the retention period is measured. Currently, only
DAYSis supported.Type: String
Valid Values:
DAYSRequired: Yes
- 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
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 365.
Required: Yes
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: