pub struct EncryptionOptions {
pub kms_key_id: Option<String>,
pub use_aws_owned_key: bool,
}
Expand description
Encryption options for the broker.
Fields§
§kms_key_id: Option<String>
The symmetric 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.
use_aws_owned_key: bool
Enables the use of an AWS owned CMK using AWS Key Management Service (KMS).
Trait Implementations§
Source§impl Clone for EncryptionOptions
impl Clone for EncryptionOptions
Source§fn clone(&self) -> EncryptionOptions
fn clone(&self) -> EncryptionOptions
Returns a duplicate 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 Default for EncryptionOptions
impl Default for EncryptionOptions
Source§fn default() -> EncryptionOptions
fn default() -> EncryptionOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptionOptions
impl<'de> Deserialize<'de> for EncryptionOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EncryptionOptions
impl PartialEq for EncryptionOptions
Source§impl Serialize for EncryptionOptions
impl Serialize for EncryptionOptions
impl StructuralPartialEq for EncryptionOptions
Auto Trait Implementations§
impl Freeze for EncryptionOptions
impl RefUnwindSafe for EncryptionOptions
impl Send for EncryptionOptions
impl Sync for EncryptionOptions
impl Unpin for EncryptionOptions
impl UnwindSafe for EncryptionOptions
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
Mutably borrows from an owned value. Read more