Struct aws_sdk_dynamodb::types::SseSpecification
source · #[non_exhaustive]pub struct SseSpecification {
pub enabled: Option<bool>,
pub sse_type: Option<SseType>,
pub kms_master_key_id: Option<String>,
}
Expand description
Represents the settings used to enable server-side encryption.
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.enabled: Option<bool>
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.
sse_type: Option<SseType>
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
kms_master_key_id: Option<String>
The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb
.
Implementations§
source§impl SseSpecification
impl SseSpecification
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.
sourcepub fn sse_type(&self) -> Option<&SseType>
pub fn sse_type(&self) -> Option<&SseType>
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
sourcepub fn kms_master_key_id(&self) -> Option<&str>
pub fn kms_master_key_id(&self) -> Option<&str>
The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb
.
source§impl SseSpecification
impl SseSpecification
sourcepub fn builder() -> SseSpecificationBuilder
pub fn builder() -> SseSpecificationBuilder
Creates a new builder-style object to manufacture SseSpecification
.
Trait Implementations§
source§impl Clone for SseSpecification
impl Clone for SseSpecification
source§fn clone(&self) -> SseSpecification
fn clone(&self) -> SseSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SseSpecification
impl Debug for SseSpecification
source§impl PartialEq for SseSpecification
impl PartialEq for SseSpecification
source§fn eq(&self, other: &SseSpecification) -> bool
fn eq(&self, other: &SseSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SseSpecification
Auto Trait Implementations§
impl Freeze for SseSpecification
impl RefUnwindSafe for SseSpecification
impl Send for SseSpecification
impl Sync for SseSpecification
impl Unpin for SseSpecification
impl UnwindSafe for SseSpecification
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