#[non_exhaustive]pub struct RdsDbSnapshotConfiguration { /* private fields */ }
Expand description
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.
Implementations§
source§impl RdsDbSnapshotConfiguration
impl RdsDbSnapshotConfiguration
sourcepub fn attributes(
&self
) -> Option<&HashMap<String, RdsDbSnapshotAttributeValue>>
pub fn attributes(
&self
) -> Option<&HashMap<String, RdsDbSnapshotAttributeValue>>
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.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
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.
source§impl RdsDbSnapshotConfiguration
impl RdsDbSnapshotConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RdsDbSnapshotConfiguration
.
Trait Implementations§
source§impl Clone for RdsDbSnapshotConfiguration
impl Clone for RdsDbSnapshotConfiguration
source§fn clone(&self) -> RdsDbSnapshotConfiguration
fn clone(&self) -> RdsDbSnapshotConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RdsDbSnapshotConfiguration
impl Debug for RdsDbSnapshotConfiguration
source§impl PartialEq<RdsDbSnapshotConfiguration> for RdsDbSnapshotConfiguration
impl PartialEq<RdsDbSnapshotConfiguration> for RdsDbSnapshotConfiguration
source§fn eq(&self, other: &RdsDbSnapshotConfiguration) -> bool
fn eq(&self, other: &RdsDbSnapshotConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.