Struct aws_sdk_qldb::types::S3EncryptionConfiguration
source · #[non_exhaustive]pub struct S3EncryptionConfiguration {
pub object_encryption_type: S3ObjectEncryptionType,
pub kms_key_arn: Option<String>,
}Expand description
The encryption settings that are used by a journal export job to write data in an Amazon Simple Storage Service (Amazon S3) bucket.
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.object_encryption_type: S3ObjectEncryptionTypeThe Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.
Implementations§
source§impl S3EncryptionConfiguration
impl S3EncryptionConfiguration
sourcepub fn object_encryption_type(&self) -> &S3ObjectEncryptionType
pub fn object_encryption_type(&self) -> &S3ObjectEncryptionType
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.
source§impl S3EncryptionConfiguration
impl S3EncryptionConfiguration
sourcepub fn builder() -> S3EncryptionConfigurationBuilder
pub fn builder() -> S3EncryptionConfigurationBuilder
Creates a new builder-style object to manufacture S3EncryptionConfiguration.
Trait Implementations§
source§impl Clone for S3EncryptionConfiguration
impl Clone for S3EncryptionConfiguration
source§fn clone(&self) -> S3EncryptionConfiguration
fn clone(&self) -> S3EncryptionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3EncryptionConfiguration
impl Debug for S3EncryptionConfiguration
source§impl PartialEq for S3EncryptionConfiguration
impl PartialEq for S3EncryptionConfiguration
source§fn eq(&self, other: &S3EncryptionConfiguration) -> bool
fn eq(&self, other: &S3EncryptionConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3EncryptionConfiguration
Auto Trait Implementations§
impl Freeze for S3EncryptionConfiguration
impl RefUnwindSafe for S3EncryptionConfiguration
impl Send for S3EncryptionConfiguration
impl Sync for S3EncryptionConfiguration
impl Unpin for S3EncryptionConfiguration
impl UnwindSafe for S3EncryptionConfiguration
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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