AWS::DLM::LifecyclePolicy ShareRule - AWS CloudFormation

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: - String UnshareInterval: Integer UnshareIntervalUnit: String

Properties

TargetAccounts

The IDs of the AWS 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 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 | WEEKS | MONTHS | YEARS

Update requires: No interruption