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 RdsDbSnapshotConfiguration = RdsDbSnapshotConfiguration' {}
- newRdsDbSnapshotConfiguration :: RdsDbSnapshotConfiguration
- rdsDbSnapshotConfiguration_attributes :: Lens' RdsDbSnapshotConfiguration (Maybe (HashMap Text RdsDbSnapshotAttributeValue))
- rdsDbSnapshotConfiguration_kmsKeyId :: Lens' RdsDbSnapshotConfiguration (Maybe Text)
Documentation
data RdsDbSnapshotConfiguration Source #
The proposed access control configuration for an Amazon RDS DB snapshot.
You can propose a configuration for a new Amazon RDS DB snapshot or an
Amazon RDS DB snapshot that you own by specifying the
RdsDbSnapshotAttributeValue
and optional KMS encryption key. For more
information, see
ModifyDBSnapshotAttribute.
See: newRdsDbSnapshotConfiguration
smart constructor.
RdsDbSnapshotConfiguration' | |
|
Instances
newRdsDbSnapshotConfiguration :: RdsDbSnapshotConfiguration Source #
Create a value of RdsDbSnapshotConfiguration
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:RdsDbSnapshotConfiguration'
, rdsDbSnapshotConfiguration_attributes
- The names and values of manual DB snapshot attributes. Manual DB
snapshot attributes are used to authorize other Amazon Web Services
accounts to restore a manual DB snapshot. The only valid value for
attributeName
for the attribute map is restore.
$sel:kmsKeyId:RdsDbSnapshotConfiguration'
, rdsDbSnapshotConfiguration_kmsKeyId
- The KMS key identifier for an encrypted Amazon RDS DB 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 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.
rdsDbSnapshotConfiguration_attributes :: Lens' RdsDbSnapshotConfiguration (Maybe (HashMap Text RdsDbSnapshotAttributeValue)) Source #
The names and values of manual DB snapshot attributes. Manual DB
snapshot attributes are used to authorize other Amazon Web Services
accounts to restore a manual DB snapshot. The only valid value for
attributeName
for the attribute map is restore.
rdsDbSnapshotConfiguration_kmsKeyId :: Lens' RdsDbSnapshotConfiguration (Maybe Text) Source #
The KMS key identifier for an encrypted Amazon RDS DB 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 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.