Class: Aws::DLM::Types::CrossRegionCopyRetainRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::CrossRegionCopyRetainRule
- Defined in:
- gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb
Overview
Note:
When making an API call, you may pass CrossRegionCopyRetainRule data as a hash:
{
interval: 1,
interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
}
Specifies the retention rule for cross-Region snapshot copies.
Constant Summary collapse
- SENSITIVE =
[]
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.
318 319 320 321 322 323 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 318 class CrossRegionCopyRetainRule < Struct.new( :interval, :interval_unit) SENSITIVE = [] include Aws::Structure end |
#interval_unit ⇒ String
The unit of time for time-based retention.
318 319 320 321 322 323 |
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 318 class CrossRegionCopyRetainRule < Struct.new( :interval, :interval_unit) SENSITIVE = [] include Aws::Structure end |