AWS::DLM::LifecyclePolicy ShareRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::DLM::LifecyclePolicy ShareRule

[Custom snapshot policies only] Specifies a rule for sharing snapshots across Amazon Web Services accounts.

Syntax

To declare this entity in your Amazon 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 Amazon Web Services accounts with which to share the snapshots.

Required: No

Type: Array of String

Minimum: 1

Update requires: No interruption

UnshareInterval

The period after which snapshots that are shared with other Amazon Web Services 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 | WEEKS | MONTHS | YEARS

Update requires: No interruption