class Aws::DLM::Types::ShareRule

Specifies a rule for sharing snapshots across Amazon Web Services accounts.

@note When making an API call, you may pass ShareRule

data as a hash:

    {
      target_accounts: ["AwsAccountId"], # required
      unshare_interval: 1,
      unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
    }

@!attribute [rw] target_accounts

The IDs of the Amazon Web Services accounts with which to share the
snapshots.
@return [Array<String>]

@!attribute [rw] unshare_interval

The period after which snapshots that are shared with other Amazon
Web Services accounts are automatically unshared.
@return [Integer]

@!attribute [rw] unshare_interval_unit

The unit of time for the automatic unsharing interval.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/ShareRule AWS API Documentation

Constants

SENSITIVE