Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RdsDbClusterSnapshotConfiguration = RdsDbClusterSnapshotConfiguration' {}
- newRdsDbClusterSnapshotConfiguration :: RdsDbClusterSnapshotConfiguration
- rdsDbClusterSnapshotConfiguration_attributes :: Lens' RdsDbClusterSnapshotConfiguration (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue))
- rdsDbClusterSnapshotConfiguration_kmsKeyId :: Lens' RdsDbClusterSnapshotConfiguration (Maybe Text)
Documentation
data RdsDbClusterSnapshotConfiguration Source #
The proposed access control configuration for an Amazon RDS DB cluster
snapshot. You can propose a configuration for a new Amazon RDS DB
cluster snapshot or an Amazon RDS DB cluster snapshot that you own by
specifying the RdsDbClusterSnapshotAttributeValue
and optional KMS
encryption key. For more information, see
ModifyDBClusterSnapshotAttribute.
See: newRdsDbClusterSnapshotConfiguration
smart constructor.
RdsDbClusterSnapshotConfiguration' | |
|
Instances
newRdsDbClusterSnapshotConfiguration :: RdsDbClusterSnapshotConfiguration Source #
Create a value of RdsDbClusterSnapshotConfiguration
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:attributes:RdsDbClusterSnapshotConfiguration'
, rdsDbClusterSnapshotConfiguration_attributes
- The names and values of manual DB cluster snapshot attributes. Manual DB
cluster snapshot attributes are used to authorize other Amazon Web
Services accounts to restore a manual DB cluster snapshot. The only
valid value for AttributeName
for the attribute map is restore
$sel:kmsKeyId:RdsDbClusterSnapshotConfiguration'
, rdsDbClusterSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot.
The KMS key identifier is the key ARN, key ID, alias ARN, or alias name
for the KMS key.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.
rdsDbClusterSnapshotConfiguration_attributes :: Lens' RdsDbClusterSnapshotConfiguration (Maybe (HashMap Text RdsDbClusterSnapshotAttributeValue)) Source #
The names and values of manual DB cluster snapshot attributes. Manual DB
cluster snapshot attributes are used to authorize other Amazon Web
Services accounts to restore a manual DB cluster snapshot. The only
valid value for AttributeName
for the attribute map is restore
rdsDbClusterSnapshotConfiguration_kmsKeyId :: Lens' RdsDbClusterSnapshotConfiguration (Maybe Text) Source #
The KMS key identifier for an encrypted Amazon RDS DB cluster snapshot. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
- If the configuration is for an existing Amazon RDS DB cluster
snapshot and you do not specify the
kmsKeyId
, or you specify an empty string, then the access preview uses the existingkmsKeyId
of the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
kmsKeyId
, then the access preview considers the snapshot as unencrypted.