@Stability(value=Stable)
public static interface CfnBroker.EncryptionOptionsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBroker.EncryptionOptionsProperty.Builder
A builder for
CfnBroker.EncryptionOptionsProperty |
static class |
CfnBroker.EncryptionOptionsProperty.Jsii$Proxy
An implementation for
CfnBroker.EncryptionOptionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBroker.EncryptionOptionsProperty.Builder |
builder() |
default String |
getKmsKeyId()
The customer master key (CMK) to use for the A AWS KMS (KMS).
|
Object |
getUseAwsOwnedKey()
Enables the use of an AWS owned CMK using AWS KMS (KMS).
|
@Stability(value=Stable) @NotNull Object getUseAwsOwnedKey()
Set to true by default, if no value is provided, for example, for RabbitMQ brokers.
@Stability(value=Stable) @Nullable default String getKmsKeyId()
This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
@Stability(value=Stable) static CfnBroker.EncryptionOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.