AWS::DLM::LifecyclePolicy ShareRule
[Snapshot policies only] Specifies a rule for sharing snapshots across AWS accounts.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "TargetAccounts" :
[ String, ... ]
, "UnshareInterval" :Integer
, "UnshareIntervalUnit" :String
}
YAML
TargetAccounts:
- String
UnshareInterval:Integer
UnshareIntervalUnit:String
Properties
TargetAccounts
-
The IDs of the AWS accounts with which to share the snapshots.
Required: No
Type: List of String
Update requires: No interruption
UnshareInterval
-
The period after which snapshots that are shared with other AWS accounts are automatically unshared.
Required: No
Type: Integer
Minimum:
1
Update requires: No interruption
UnshareIntervalUnit
-
The unit of time for the automatic unsharing interval.
Required: No
Type: String
Allowed values:
DAYS | MONTHS | WEEKS | YEARS
Update requires: No interruption