BrokerEncryptionOptions constructor
Creates a new BrokerEncryptionOptions.
kmsKeyId ARN of KMS CMK to use for encryption at rest. Requires setting useAwsOwnedKey to false. To perform drift detection when AWS-managed CMKs or customer-managed CMKs are in use, this value must be configured.
useAwsOwnedKey Whether to enable an AWS-owned KMS CMK not in your account. Defaults to true. Setting to false without configuring kmsKeyId creates an AWS-managed CMK aliased to aws/mq in your account.
Implementation
const BrokerEncryptionOptions({
this.kmsKeyId,
this.useAwsOwnedKey,
});