Struct rusoto_dynamodb::SSESpecification
source · [−]pub struct SSESpecification {
pub enabled: Option<bool>,
pub kms_master_key_id: Option<String>,
pub sse_type: Option<String>,
}
Expand description
Represents the settings used to enable server-side encryption.
Fields
enabled: Option<bool>
Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled (true), server-side encryption type is set to KMS
and an AWS managed CMK is used (AWS KMS charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned CMK.
kms_master_key_id: Option<String>
The AWS KMS customer master key (CMK) that should be used for the AWS KMS encryption. To specify a CMK, 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 customer master key alias/aws/dynamodb.
sse_type: Option<String>
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your account and is managed by AWS KMS (AWS KMS charges apply).
Trait Implementations
sourceimpl Clone for SSESpecification
impl Clone for SSESpecification
sourcefn clone(&self) -> SSESpecification
fn clone(&self) -> SSESpecification
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 SSESpecification
impl Debug for SSESpecification
sourceimpl Default for SSESpecification
impl Default for SSESpecification
sourcefn default() -> SSESpecification
fn default() -> SSESpecification
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SSESpecification> for SSESpecification
impl PartialEq<SSESpecification> for SSESpecification
sourcefn eq(&self, other: &SSESpecification) -> bool
fn eq(&self, other: &SSESpecification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SSESpecification) -> bool
fn ne(&self, other: &SSESpecification) -> bool
This method tests for !=
.
sourceimpl Serialize for SSESpecification
impl Serialize for SSESpecification
impl StructuralPartialEq for SSESpecification
Auto Trait Implementations
impl RefUnwindSafe for SSESpecification
impl Send for SSESpecification
impl Sync for SSESpecification
impl Unpin for SSESpecification
impl UnwindSafe for SSESpecification
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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