You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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.



8287
8288
8289
8290
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8287

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