You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RDS::Types::DBClusterSnapshotAttribute

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

Overview

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

Manual DB cluster snapshot attributes are used to authorize other AWS accounts to restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The name of the manual DB cluster snapshot attribute.

The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

Returns:

  • (String)


4005
4006
4007
4008
4009
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 4005

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

#attribute_valuesArray<String>

The value(s) for the manual DB 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 DB cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any AWS account to copy or restore.

Returns:

  • (Array<String>)


4005
4006
4007
4008
4009
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 4005

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