Struct aws_sdk_qldb::model::S3EncryptionConfiguration
source · [−]#[non_exhaustive]pub struct S3EncryptionConfiguration {
pub object_encryption_type: Option<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: Option<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.
kms_key_arn: Option<String>
The Amazon Resource Name (ARN) of a symmetric 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
sourceimpl S3EncryptionConfiguration
impl S3EncryptionConfiguration
sourcepub fn object_encryption_type(&self) -> Option<&S3ObjectEncryptionType>
pub fn object_encryption_type(&self) -> Option<&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 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
.
sourceimpl S3EncryptionConfiguration
impl S3EncryptionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3EncryptionConfiguration
Trait Implementations
sourceimpl Clone for S3EncryptionConfiguration
impl Clone for S3EncryptionConfiguration
sourcefn clone(&self) -> S3EncryptionConfiguration
fn clone(&self) -> S3EncryptionConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for S3EncryptionConfiguration
impl Debug for S3EncryptionConfiguration
sourceimpl PartialEq<S3EncryptionConfiguration> for S3EncryptionConfiguration
impl PartialEq<S3EncryptionConfiguration> for S3EncryptionConfiguration
sourcefn eq(&self, other: &S3EncryptionConfiguration) -> bool
fn eq(&self, other: &S3EncryptionConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3EncryptionConfiguration) -> bool
fn ne(&self, other: &S3EncryptionConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for S3EncryptionConfiguration
Auto Trait Implementations
impl RefUnwindSafe for S3EncryptionConfiguration
impl Send for S3EncryptionConfiguration
impl Sync for S3EncryptionConfiguration
impl Unpin for S3EncryptionConfiguration
impl UnwindSafe for S3EncryptionConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more