Class: Aws::DLM::Types::ShareRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#target_accountsArray<String>

The IDs of the Amazon Web Services accounts with which to share the snapshots.

Returns:

  • (Array<String>)


1604
1605
1606
1607
1608
1609
1610
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 1604

class ShareRule < Struct.new(
  :target_accounts,
  :unshare_interval,
  :unshare_interval_unit)
  SENSITIVE = []
  include Aws::Structure
end

#unshare_intervalInteger

The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.

Returns:

  • (Integer)


1604
1605
1606
1607
1608
1609
1610
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 1604

class ShareRule < Struct.new(
  :target_accounts,
  :unshare_interval,
  :unshare_interval_unit)
  SENSITIVE = []
  include Aws::Structure
end

#unshare_interval_unitString

The unit of time for the automatic unsharing interval.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 1604

class ShareRule < Struct.new(
  :target_accounts,
  :unshare_interval,
  :unshare_interval_unit)
  SENSITIVE = []
  include Aws::Structure
end