BrokerEncryptionOptions

data class BrokerEncryptionOptions(val kmsKeyId: String? = null, val useAwsOwnedKey: Boolean? = null)

Constructors

Link copied to clipboard
constructor(kmsKeyId: String? = null, useAwsOwnedKey: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val kmsKeyId: String? = null

Amazon Resource Name (ARN) of Key Management Service (KMS) Customer Master Key (CMK) to use for encryption at rest. Requires setting use_aws_owned_key to false. To perform drift detection when AWS-managed CMKs or customer-managed CMKs are in use, this value must be configured.

Link copied to clipboard
val useAwsOwnedKey: Boolean? = null

Whether to enable an AWS-owned KMS CMK that is not in your account. Defaults to true. Setting to false without configuring kms_key_id will create an AWS-managed CMK aliased to aws/mq in your account.