Interface CfnBroker.EncryptionOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBroker.EncryptionOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnBroker
@Stability(Stable)
public static interface CfnBroker.EncryptionOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Encryption options for the broker.
Does not apply to RabbitMQ brokers.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.amazonmq.*; EncryptionOptionsProperty encryptionOptionsProperty = EncryptionOptionsProperty.builder() .useAwsOwnedKey(false) // the properties below are optional .kmsKeyId("kmsKeyId") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBroker.EncryptionOptionsProperty
static final class
An implementation forCfnBroker.EncryptionOptionsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUseAwsOwnedKey
Enables the use of an AWS owned CMK using AWS KMS (KMS).Set to
true
by default, if no value is provided, for example, for RabbitMQ brokers.- See Also:
-
getKmsKeyId
The customer master key (CMK) to use for the A AWS 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.
- See Also:
-
builder
-