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 AWS accounts to restore a manual cluster snapshot.

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

Returns:

  • (String)


1538
1539
1540
1541
1542
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1538

class DBClusterSnapshotAttribute < Struct.new(
  :attribute_name,
  :attribute_values)
  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 AWS 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 AWS account to copy or restore.

Returns:

  • (Array<String>)


1538
1539
1540
1541
1542
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1538

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