Method: Aws::S3::Encryption::Client#initialize
- Defined in:
- lib/aws-sdk-resources/services/s3/encryption/client.rb
#initialize(options = {}) ⇒ Client
Creates a new encryption client. You must provide on of the following options:
-
‘:encryption_key`
-
‘:kms_key_id`
-
‘:key_provider`
You may also pass any other options accepted by S3::Client#initialize.
220 221 222 223 224 225 |
# File 'lib/aws-sdk-resources/services/s3/encryption/client.rb', line 220 def initialize( = {}) @client = extract_client() @cipher_provider = cipher_provider() @envelope_location = extract_location() @instruction_file_suffix = extract_suffix() end |