interface EncryptionOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AmazonMQ.Mixins.CfnBrokerPropsMixin.EncryptionOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamazonmq/mixins#CfnBrokerPropsMixin_EncryptionOptionsProperty |
Java | software.amazon.awscdk.mixins.preview.services.amazonmq.mixins.CfnBrokerPropsMixin.EncryptionOptionsProperty |
Python | aws_cdk.mixins_preview.aws_amazonmq.mixins.CfnBrokerPropsMixin.EncryptionOptionsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_amazonmq » mixins » CfnBrokerPropsMixin » EncryptionOptionsProperty |
Encryption options for the broker.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as amazonmq_mixins } from '@aws-cdk/mixins-preview/aws-amazonmq';
const encryptionOptionsProperty: amazonmq_mixins.CfnBrokerPropsMixin.EncryptionOptionsProperty = {
kmsKeyId: 'kmsKeyId',
useAwsOwnedKey: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| kms | string | The customer master key (CMK) to use for the A AWS (KMS). |
| use | boolean | IResolvable | Enables the use of an AWS owned CMK using AWS (KMS). |
kmsKeyId?
Type:
string
(optional)
The customer master key (CMK) to use for the A AWS (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.
useAwsOwnedKey?
Type:
boolean | IResolvable
(optional)
Enables the use of an AWS owned CMK using AWS (KMS).
Set to true by default, if no value is provided, for example, for RabbitMQ brokers.

.NET
Go
Java
Python
TypeScript