#[non_exhaustive]pub struct MetadataTableEncryptionConfiguration {
pub sse_algorithm: TableSseAlgorithm,
pub kms_key_arn: Option<String>,
}Expand description
The encryption settings for an S3 Metadata journal table or inventory table configuration.
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.sse_algorithm: TableSseAlgorithmThe encryption type specified for a metadata table. To specify server-side encryption with Key Management Service (KMS) keys (SSE-KMS), use the aws:kms value. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use the AES256 value.
kms_key_arn: Option<String>If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.
Implementations§
Source§impl MetadataTableEncryptionConfiguration
impl MetadataTableEncryptionConfiguration
Sourcepub fn sse_algorithm(&self) -> &TableSseAlgorithm
pub fn sse_algorithm(&self) -> &TableSseAlgorithm
The encryption type specified for a metadata table. To specify server-side encryption with Key Management Service (KMS) keys (SSE-KMS), use the aws:kms value. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use the AES256 value.
Sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.
Source§impl MetadataTableEncryptionConfiguration
impl MetadataTableEncryptionConfiguration
Sourcepub fn builder() -> MetadataTableEncryptionConfigurationBuilder
pub fn builder() -> MetadataTableEncryptionConfigurationBuilder
Creates a new builder-style object to manufacture MetadataTableEncryptionConfiguration.
Trait Implementations§
Source§impl Clone for MetadataTableEncryptionConfiguration
impl Clone for MetadataTableEncryptionConfiguration
Source§fn clone(&self) -> MetadataTableEncryptionConfiguration
fn clone(&self) -> MetadataTableEncryptionConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for MetadataTableEncryptionConfiguration
impl PartialEq for MetadataTableEncryptionConfiguration
Source§fn eq(&self, other: &MetadataTableEncryptionConfiguration) -> bool
fn eq(&self, other: &MetadataTableEncryptionConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetadataTableEncryptionConfiguration
Auto Trait Implementations§
impl Freeze for MetadataTableEncryptionConfiguration
impl RefUnwindSafe for MetadataTableEncryptionConfiguration
impl Send for MetadataTableEncryptionConfiguration
impl Sync for MetadataTableEncryptionConfiguration
impl Unpin for MetadataTableEncryptionConfiguration
impl UnwindSafe for MetadataTableEncryptionConfiguration
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§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