Class: Aws::S3Control::Types::EncryptionConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3control/types.rb

Overview

Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects. If you’re specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that’s encrypted with a KMS key that belongs to the requester, and not the bucket owner.

<note markdown=“1”> This is not supported by Amazon S3 on Outposts buckets.

</note>

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#replica_kms_key_idString

Specifies the ID of the customer managed KMS key that’s stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see [Symmetric encryption KMS keys] in the *Amazon Web Services Key Management Service Developer Guide*.

[1]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#symmetric-cmks

Returns:

  • (String)


2114
2115
2116
2117
2118
# File 'lib/aws-sdk-s3control/types.rb', line 2114

class EncryptionConfiguration < Struct.new(
  :replica_kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end