class Aws::RecycleBin::Types::RetentionPeriod

Information about the retention period for which the retention rule is to retain resources.

@note When making an API call, you may pass RetentionPeriod

data as a hash:

    {
      retention_period_value: 1, # required
      retention_period_unit: "DAYS", # required, accepts DAYS
    }

@!attribute [rw] retention_period_value

The period value for which the retention rule is to retain
resources. The period is measured using the unit specified for
**RetentionPeriodUnit**.
@return [Integer]

@!attribute [rw] retention_period_unit

The unit of time in which the retention period is measured.
Currently, only `DAYS` is supported.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/RetentionPeriod AWS API Documentation

Constants

SENSITIVE