Class: Aws::MQ::Types::EncryptionOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mq/lib/aws-sdk-mq/types.rb

Overview

Note:

When making an API call, you may pass EncryptionOptions data as a hash:

{
  kms_key_id: "__string",
  use_aws_owned_key: false, # required
}

Does not apply to RabbitMQ brokers.

Encryption options for the broker.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

The customer master key (CMK) to use for the AWS Key Management Service (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.

Returns:

  • (String)


1858
1859
1860
1861
1862
1863
# File 'gems/aws-sdk-mq/lib/aws-sdk-mq/types.rb', line 1858

class EncryptionOptions < Struct.new(
  :kms_key_id,
  :use_aws_owned_key)
  SENSITIVE = []
  include Aws::Structure
end

#use_aws_owned_keyBoolean

Enables the use of an AWS owned CMK using AWS Key Management Service (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.

Returns:

  • (Boolean)


1858
1859
1860
1861
1862
1863
# File 'gems/aws-sdk-mq/lib/aws-sdk-mq/types.rb', line 1858

class EncryptionOptions < Struct.new(
  :kms_key_id,
  :use_aws_owned_key)
  SENSITIVE = []
  include Aws::Structure
end