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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1775
1776
1777
1778
1779
1780
# File 'lib/aws-sdk-docdb/types.rb', line 1775

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>)


1775
1776
1777
1778
1779
1780
# File 'lib/aws-sdk-docdb/types.rb', line 1775

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