You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DLM::Types::CrossRegionCopyRetainRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::CrossRegionCopyRetainRule
- Defined in:
- (unknown)
Overview
Note:
When passing CrossRegionCopyRetainRule as input to an Aws::Client method, you can use a vanilla Hash:
{
interval: 1,
interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
}
Specifies the retention rule for cross-Region snapshot copies.
Returned by:
Instance Attribute Summary collapse
-
#interval ⇒ Integer
The amount of time to retain each snapshot.
-
#interval_unit ⇒ String
The unit of time for time-based retention.
Instance Attribute Details
#interval ⇒ Integer
The 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 ⇒ String
The unit of time for time-based retention.
Possible values:
- DAYS
- WEEKS
- MONTHS
- YEARS