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 Amazon Web Services 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 Amazon Web Services accounts that have permission to copy or restore the manual cluster snapshot.

Returns:

  • (String)


1873
1874
1875
1876
1877
1878
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1873

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 Amazon Web Services 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 Amazon Web Services account to copy or restore.

Returns:

  • (Array<String>)


1873
1874
1875
1876
1877
1878
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1873

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