You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DLM::Types::RetainRuleWhen passing RetainRule as input to an Aws::Client method, you can use a vanilla Hash:
{
count: 1,
interval: 1,
interval_unit: "DAYS", }
Specifies the retention rule for a lifecycle policy. You can retain snapshots based on either a count or a time interval.
Returned by:
Instance Attribute Summary collapseThe number of snapshots to retain for each volume, up to a maximum of 1000.
The amount of time to retain each snapshot.
The unit of time for time-based retention.
The number of snapshots to retain for each volume, up to a maximum of 1000.
#interval ⇒ IntegerThe amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
#interval_unit ⇒ StringThe unit of time for time-based retention.
Possible values:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4