Struct aws_sdk_mq::types::EncryptionOptions
source · #[non_exhaustive]pub struct EncryptionOptions { /* private fields */ }Expand description
Does not apply to RabbitMQ brokers.
Encryption options for the broker.
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 AWS Key Management Service (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) -> bool
pub fn use_aws_owned_key(&self) -> bool
Enables the use of an AWS owned CMK using AWS Key Management Service (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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self and other values to be equal, and is used
by ==.