AWS::DLM::LifecyclePolicy ShareRule - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new 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 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