aws-cdk-lib.aws_amazonmq.CfnBroker.EncryptionOptionsProperty

interface EncryptionOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.AmazonMQ.CfnBroker.EncryptionOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamazonmq#CfnBroker_EncryptionOptionsProperty
Javasoftware.amazon.awscdk.services.amazonmq.CfnBroker.EncryptionOptionsProperty
Pythonaws_cdk.aws_amazonmq.CfnBroker.EncryptionOptionsProperty
TypeScript aws-cdk-lib » aws_amazonmq » CfnBroker » EncryptionOptionsProperty

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 { aws_amazonmq as amazonmq } from 'aws-cdk-lib';
const encryptionOptionsProperty: amazonmq.CfnBroker.EncryptionOptionsProperty = {
  useAwsOwnedKey: false,

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
};

Properties

NameTypeDescription
useAwsOwnedKeyboolean | IResolvableEnables the use of an AWS owned CMK using AWS KMS (KMS).
kmsKeyId?stringThe customer master key (CMK) to use for the A AWS KMS (KMS).

useAwsOwnedKey

Type: boolean | IResolvable

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.


kmsKeyId?

Type: string (optional)

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.