Struct aws_sdk_mq::types::EncryptionOptions
source · #[non_exhaustive]pub struct EncryptionOptions {
pub kms_key_id: Option<String>,
pub use_aws_owned_key: Option<bool>,
}
Expand description
Encryption options for the broker.
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.kms_key_id: Option<String>
The customer master key (CMK) to use for the A KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
use_aws_owned_key: Option<bool>
Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
Implementations§
source§impl EncryptionOptions
impl EncryptionOptions
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The customer master key (CMK) to use for the A KMS (KMS). This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
sourcepub fn use_aws_owned_key(&self) -> Option<bool>
pub fn use_aws_owned_key(&self) -> Option<bool>
Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
source§impl EncryptionOptions
impl EncryptionOptions
sourcepub fn builder() -> EncryptionOptionsBuilder
pub fn builder() -> EncryptionOptionsBuilder
Creates a new builder-style object to manufacture EncryptionOptions
.
Trait Implementations§
source§impl Clone for EncryptionOptions
impl Clone for EncryptionOptions
source§fn clone(&self) -> EncryptionOptions
fn clone(&self) -> EncryptionOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionOptions
impl Debug for EncryptionOptions
source§impl PartialEq<EncryptionOptions> for EncryptionOptions
impl PartialEq<EncryptionOptions> for EncryptionOptions
source§fn eq(&self, other: &EncryptionOptions) -> bool
fn eq(&self, other: &EncryptionOptions) -> bool
self
and other
values to be equal, and is used
by ==
.