#[non_exhaustive]pub struct EncryptionConfiguration {
pub key_id: Option<String>,
pub type: EncryptionType,
}
Expand description
A complex type that contains optional Amazon Web Services Key Management Service (KMS) encryption settings for your Network Firewall resources. Your data is encrypted by default with an Amazon Web Services owned key that Amazon Web Services owns and manages for you. You can use either the Amazon Web Services owned key, or provide your own customer managed key. To learn more about KMS encryption of your Network Firewall resources, see Encryption at rest with Amazon Web Services Key Managment Service in the Network Firewall Developer Guide.
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.key_id: Option<String>
The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide.
type: EncryptionType
The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.
Implementations§
source§impl EncryptionConfiguration
impl EncryptionConfiguration
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide.
sourcepub fn type(&self) -> &EncryptionType
pub fn type(&self) -> &EncryptionType
The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.
source§impl EncryptionConfiguration
impl EncryptionConfiguration
sourcepub fn builder() -> EncryptionConfigurationBuilder
pub fn builder() -> EncryptionConfigurationBuilder
Creates a new builder-style object to manufacture EncryptionConfiguration
.
Trait Implementations§
source§impl Clone for EncryptionConfiguration
impl Clone for EncryptionConfiguration
source§fn clone(&self) -> EncryptionConfiguration
fn clone(&self) -> EncryptionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionConfiguration
impl Debug for EncryptionConfiguration
source§impl PartialEq for EncryptionConfiguration
impl PartialEq for EncryptionConfiguration
source§fn eq(&self, other: &EncryptionConfiguration) -> bool
fn eq(&self, other: &EncryptionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionConfiguration
Auto Trait Implementations§
impl Freeze for EncryptionConfiguration
impl RefUnwindSafe for EncryptionConfiguration
impl Send for EncryptionConfiguration
impl Sync for EncryptionConfiguration
impl Unpin for EncryptionConfiguration
impl UnwindSafe for EncryptionConfiguration
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> 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