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

Class: Aws::DocDB::Types::ModifyDBClusterSnapshotAttributeMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifyDBClusterSnapshotAttributeMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  db_cluster_snapshot_identifier: "String", # required
  attribute_name: "String", # required
  values_to_add: ["String"],
  values_to_remove: ["String"],
}

Represents the input to ModifyDBClusterSnapshotAttribute.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The name of the cluster snapshot attribute to modify.

To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this value to restore.

Returns:

  • (String)

    The name of the cluster snapshot attribute to modify.

#db_cluster_snapshot_identifierString

The identifier for the cluster snapshot to modify the attributes for.

Returns:

  • (String)

    The identifier for the cluster snapshot to modify the attributes for.

#values_to_addArray<String>

A list of cluster snapshot attributes to add to the attribute specified by AttributeName.

To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to all. Do not add the all value for any manual cluster snapshots that contain private information that you don\'t want to be available to all AWS accounts.

Returns:

  • (Array<String>)

    A list of cluster snapshot attributes to add to the attribute specified by AttributeName.

#values_to_removeArray<String>

A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.

To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the cluster snapshot, set it to all . If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot.

Returns:

  • (Array<String>)

    A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.