Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CrossRegionCopyRetainRule = CrossRegionCopyRetainRule' {}
- newCrossRegionCopyRetainRule :: CrossRegionCopyRetainRule
- crossRegionCopyRetainRule_interval :: Lens' CrossRegionCopyRetainRule (Maybe Natural)
- crossRegionCopyRetainRule_intervalUnit :: Lens' CrossRegionCopyRetainRule (Maybe RetentionIntervalUnitValues)
Documentation
data CrossRegionCopyRetainRule Source #
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.
See: newCrossRegionCopyRetainRule
smart constructor.
CrossRegionCopyRetainRule' | |
|
Instances
newCrossRegionCopyRetainRule :: CrossRegionCopyRetainRule Source #
Create a value of CrossRegionCopyRetainRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:interval:CrossRegionCopyRetainRule'
, crossRegionCopyRetainRule_interval
- 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.
$sel:intervalUnit:CrossRegionCopyRetainRule'
, crossRegionCopyRetainRule_intervalUnit
- 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
.
crossRegionCopyRetainRule_interval :: Lens' CrossRegionCopyRetainRule (Maybe Natural) Source #
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.
crossRegionCopyRetainRule_intervalUnit :: Lens' CrossRegionCopyRetainRule (Maybe RetentionIntervalUnitValues) Source #
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
.