Struct aws_sdk_dynamodb::model::SseSpecification
source · [−]#[non_exhaustive]pub struct SseSpecification { /* private fields */ }
Expand description
Represents the settings used to enable server-side encryption.
Implementations
sourceimpl 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
.
sourceimpl SseSpecification
impl SseSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SseSpecification
.
Trait Implementations
sourceimpl Clone for SseSpecification
impl Clone for SseSpecification
sourcefn clone(&self) -> SseSpecification
fn clone(&self) -> SseSpecification
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more