#[non_exhaustive]pub struct AwsAmazonMqBrokerEncryptionOptionsDetails {
pub kms_key_id: Option<String>,
pub use_aws_owned_key: Option<bool>,
}
Expand description
Provides details about broker encryption options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kms_key_id: Option<String>
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
use_aws_owned_key: Option<bool>
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value is provided (for example, for RabbitMQ brokers).
Implementations§
source§impl AwsAmazonMqBrokerEncryptionOptionsDetails
impl AwsAmazonMqBrokerEncryptionOptionsDetails
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
sourcepub fn use_aws_owned_key(&self) -> Option<bool>
pub fn use_aws_owned_key(&self) -> Option<bool>
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value is provided (for example, for RabbitMQ brokers).
source§impl AwsAmazonMqBrokerEncryptionOptionsDetails
impl AwsAmazonMqBrokerEncryptionOptionsDetails
sourcepub fn builder() -> AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
pub fn builder() -> AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
Creates a new builder-style object to manufacture AwsAmazonMqBrokerEncryptionOptionsDetails
.
Trait Implementations§
source§impl Clone for AwsAmazonMqBrokerEncryptionOptionsDetails
impl Clone for AwsAmazonMqBrokerEncryptionOptionsDetails
source§fn clone(&self) -> AwsAmazonMqBrokerEncryptionOptionsDetails
fn clone(&self) -> AwsAmazonMqBrokerEncryptionOptionsDetails
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 PartialEq for AwsAmazonMqBrokerEncryptionOptionsDetails
impl PartialEq for AwsAmazonMqBrokerEncryptionOptionsDetails
source§fn eq(&self, other: &AwsAmazonMqBrokerEncryptionOptionsDetails) -> bool
fn eq(&self, other: &AwsAmazonMqBrokerEncryptionOptionsDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsAmazonMqBrokerEncryptionOptionsDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsAmazonMqBrokerEncryptionOptionsDetails
impl Send for AwsAmazonMqBrokerEncryptionOptionsDetails
impl Sync for AwsAmazonMqBrokerEncryptionOptionsDetails
impl Unpin for AwsAmazonMqBrokerEncryptionOptionsDetails
impl UnwindSafe for AwsAmazonMqBrokerEncryptionOptionsDetails
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
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>
Creates a shared type from an unshared type.