RetentionPeriod - Recycle Bin
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 DAYS is supported.

Type: String

Valid Values: DAYS

Required: 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 Amazon SDKs, see the following: