Class: Aws::DLM::Types::CrossRegionCopyRetainRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::CrossRegionCopyRetainRule
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dlm/types.rb
Overview
Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies. After the retention period expires, the cross-Region copy is deleted.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#interval ⇒ Integer
The amount of time to retain a cross-Region snapshot or AMI copy.
-
#interval_unit ⇒ String
The unit of time for time-based retention.
Instance Attribute Details
#interval ⇒ Integer
The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
376 377 378 379 380 381 |
# File 'lib/aws-sdk-dlm/types.rb', line 376 class CrossRegionCopyRetainRule < Struct.new( :interval, :interval_unit) SENSITIVE = [] include Aws::Structure end |
#interval_unit ⇒ String
The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify ‘Interval=3` and `IntervalUnit=MONTHS`.
376 377 378 379 380 381 |
# File 'lib/aws-sdk-dlm/types.rb', line 376 class CrossRegionCopyRetainRule < Struct.new( :interval, :interval_unit) SENSITIVE = [] include Aws::Structure end |