AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::DocDB::Types::DBClusterSnapshotAttribute

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

Overview

Contains the name and values of a manual cluster snapshot attribute.

Manual cluster snapshot attributes are used to authorize other accounts to restore a manual cluster snapshot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The name of the manual cluster snapshot attribute.

The attribute named restore refers to the list of accounts that have permission to copy or restore the manual cluster snapshot.

Returns:

  • (String)


1835
1836
1837
1838
1839
1840
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1835

class DBClusterSnapshotAttribute < Struct.new(
  :attribute_name,
  :attribute_values)
  SENSITIVE = []
  include Aws::Structure
end

#attribute_valuesArray<String>

The values for the manual cluster snapshot attribute.

If the AttributeName field is set to restore, then this element returns a list of IDs of the accounts that are authorized to copy or restore the manual cluster snapshot. If a value of all is in the list, then the manual cluster snapshot is public and available for any account to copy or restore.

Returns:

  • (Array<String>)


1835
1836
1837
1838
1839
1840
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1835

class DBClusterSnapshotAttribute < Struct.new(
  :attribute_name,
  :attribute_values)
  SENSITIVE = []
  include Aws::Structure
end