| 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 |
Amazonka.DLM.Types.ShareRule
Description
Documentation
Specifies a rule for sharing snapshots across Amazon Web Services accounts.
See: newShareRule smart constructor.
Constructors
| ShareRule' | |
Fields
| |
Instances
Create a value of ShareRule 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:unshareIntervalUnit:ShareRule', shareRule_unshareIntervalUnit - The unit of time for the automatic unsharing interval.
$sel:unshareInterval:ShareRule', shareRule_unshareInterval - The period after which snapshots that are shared with other Amazon Web
Services accounts are automatically unshared.
$sel:targetAccounts:ShareRule', shareRule_targetAccounts - The IDs of the Amazon Web Services accounts with which to share the
snapshots.
shareRule_unshareIntervalUnit :: Lens' ShareRule (Maybe RetentionIntervalUnitValues) Source #
The unit of time for the automatic unsharing interval.