Struct aws_sdk_mq::model::EncryptionOptions
source · [−]#[non_exhaustive]pub struct EncryptionOptions {
pub kms_key_id: Option<String>,
pub use_aws_owned_key: bool,
}
Expand description
Does not apply to RabbitMQ brokers.
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 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). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
Implementations
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.
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.
Creates a new builder-style object to manufacture EncryptionOptions
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EncryptionOptions
impl Send for EncryptionOptions
impl Sync for EncryptionOptions
impl Unpin for EncryptionOptions
impl UnwindSafe for EncryptionOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more