Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DBClusterSnapshotAttribute = DBClusterSnapshotAttribute' {
- attributeValues :: Maybe [Text]
- attributeName :: Maybe Text
- newDBClusterSnapshotAttribute :: DBClusterSnapshotAttribute
- dbClusterSnapshotAttribute_attributeValues :: Lens' DBClusterSnapshotAttribute (Maybe [Text])
- dbClusterSnapshotAttribute_attributeName :: Lens' DBClusterSnapshotAttribute (Maybe Text)
Documentation
data DBClusterSnapshotAttribute Source #
Contains the name and values of a manual cluster snapshot attribute.
Manual cluster snapshot attributes are used to authorize other accounts to restore a manual cluster snapshot.
See: newDBClusterSnapshotAttribute
smart constructor.
DBClusterSnapshotAttribute' | |
|
Instances
newDBClusterSnapshotAttribute :: DBClusterSnapshotAttribute Source #
Create a value of DBClusterSnapshotAttribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributeValues:DBClusterSnapshotAttribute'
, dbClusterSnapshotAttribute_attributeValues
- 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 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 account
to copy or restore.
$sel:attributeName:DBClusterSnapshotAttribute'
, dbClusterSnapshotAttribute_attributeName
- The name of the manual cluster snapshot attribute.
The attribute named restore
refers to the list of accounts that have
permission to copy or restore the manual cluster snapshot.
dbClusterSnapshotAttribute_attributeValues :: Lens' DBClusterSnapshotAttribute (Maybe [Text]) Source #
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 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 account
to copy or restore.
dbClusterSnapshotAttribute_attributeName :: Lens' DBClusterSnapshotAttribute (Maybe Text) Source #
The name of the manual cluster snapshot attribute.
The attribute named restore
refers to the list of accounts that have
permission to copy or restore the manual cluster snapshot.