#[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.
If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
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 (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS 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 (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS 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
impl StructuralPartialEq for EncryptionConfiguration
Auto Trait Implementations§
impl Freeze for EncryptionConfiguration
impl RefUnwindSafe for EncryptionConfiguration
impl Send for EncryptionConfiguration
impl Sync for EncryptionConfiguration
impl Unpin for EncryptionConfiguration
impl UnwindSafe for EncryptionConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more