BrokerEncryptionOptionsArgs

data class BrokerEncryptionOptionsArgs(val kmsKeyId: Output<String>? = null, val useAwsOwnedKey: Output<Boolean>? = null) : ConvertibleToJava<BrokerEncryptionOptionsArgs>

Constructors

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

Properties

Link copied to clipboard
val kmsKeyId: Output<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: Output<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.

Functions

Link copied to clipboard
open override fun toJava(): BrokerEncryptionOptionsArgs