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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBroker.EncryptionOptionsPropertystatic final classAn 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
trueby default, if no value is provided, for example, for RabbitMQ brokers. -
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.
-
builder
-