Struct aws_sdk_s3control::types::EncryptionConfiguration
source · #[non_exhaustive]pub struct EncryptionConfiguration {
pub replica_kms_key_id: Option<String>,
}
Expand description
Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.
This is not supported by Amazon S3 on Outposts buckets.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replica_kms_key_id: Option<String>
Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys in the Amazon Web Services Key Management Service Developer Guide.
Implementations§
source§impl EncryptionConfiguration
impl EncryptionConfiguration
sourcepub fn replica_kms_key_id(&self) -> Option<&str>
pub fn replica_kms_key_id(&self) -> Option<&str>
Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys in the Amazon Web Services Key Management Service Developer Guide.
source§impl EncryptionConfiguration
impl EncryptionConfiguration
sourcepub fn builder() -> EncryptionConfigurationBuilder
pub fn builder() -> EncryptionConfigurationBuilder
Creates a new builder-style object to manufacture EncryptionConfiguration
.
Trait Implementations§
source§impl Clone for EncryptionConfiguration
impl Clone for EncryptionConfiguration
source§fn clone(&self) -> EncryptionConfiguration
fn clone(&self) -> EncryptionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionConfiguration
impl Debug for EncryptionConfiguration
source§impl PartialEq for EncryptionConfiguration
impl PartialEq for EncryptionConfiguration
source§fn eq(&self, other: &EncryptionConfiguration) -> bool
fn eq(&self, other: &EncryptionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.