Class BrokerEncryptionOptions


  • public final class BrokerEncryptionOptions
    extends java.lang.Object
    • Method Detail

      • kmsKeyId

        public java.util.Optional<java.lang.String> kmsKeyId()
        Returns:
        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

        public java.util.Optional<java.lang.Boolean> useAwsOwnedKey()
        Returns:
        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.