Class: Aws::S3::Types::ServerSideEncryptionConfiguration

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

Overview

Note:

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

{
  rules: [ # required
    {
      apply_server_side_encryption_by_default: {
        sse_algorithm: "AES256", # required, accepts AES256, aws:kms
        kms_master_key_id: "SSEKMSKeyId",
      },
    },
  ],
}

Container for server-side encryption configuration rules. Currently S3 supports one rule only.

Instance Attribute Summary collapse

Instance Attribute Details

#rulesArray<Types::ServerSideEncryptionRule>

Container for information about a particular server-side encryption configuration rule.



9348
9349
9350
9351
# File 'lib/aws-sdk-s3/types.rb', line 9348

class ServerSideEncryptionConfiguration < Struct.new(
  :rules)
  include Aws::Structure
end