This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::DLM::LifecyclePolicy ShareRule
[Custom 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:- StringUnshareInterval:IntegerUnshareIntervalUnit:String
Properties
-
The IDs of the AWS accounts with which to share the snapshots.
Required: No
Type: Array of String
Minimum:
1Update requires: No interruption
-
The period after which snapshots that are shared with other AWS accounts are automatically unshared.
Required: No
Type: Integer
Minimum:
1Update requires: No interruption
-
The unit of time for the automatic unsharing interval.
Required: No
Type: String
Allowed values:
DAYS | WEEKS | MONTHS | YEARSUpdate requires: No interruption