Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CrossRegionCopyRetainRule = CrossRegionCopyRetainRule' {}
- newCrossRegionCopyRetainRule :: CrossRegionCopyRetainRule
- crossRegionCopyRetainRule_interval :: Lens' CrossRegionCopyRetainRule (Maybe Natural)
- crossRegionCopyRetainRule_intervalUnit :: Lens' CrossRegionCopyRetainRule (Maybe RetentionIntervalUnitValues)
Documentation
data CrossRegionCopyRetainRule Source #
Specifies the retention rule for cross-Region snapshot copies.
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 each snapshot. 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.
crossRegionCopyRetainRule_interval :: Lens' CrossRegionCopyRetainRule (Maybe Natural) Source #
The amount of time to retain each snapshot. 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.