Class: Aws::S3::Types::Encryption

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

Overview

Contains the type of server-side encryption used.

Constant Summary collapse

SENSITIVE =
[:kms_key_id]

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_typeString

The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).

Returns:

  • (String)


4382
4383
4384
4385
4386
4387
4388
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4382

class Encryption < Struct.new(
  :encryption_type,
  :kms_key_id,
  :kms_context)
  SENSITIVE = [:kms_key_id]
  include Aws::Structure
end

#kms_contextString

If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the restore results.

Returns:

  • (String)


4382
4383
4384
4385
4386
4387
4388
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4382

class Encryption < Struct.new(
  :encryption_type,
  :kms_key_id,
  :kms_context)
  SENSITIVE = [:kms_key_id]
  include Aws::Structure
end

#kms_key_idString

If the encryption type is aws:kms, this optional value specifies the ID of the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in KMS in the Amazon Web Services Key Management Service Developer Guide.

Returns:

  • (String)


4382
4383
4384
4385
4386
4387
4388
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 4382

class Encryption < Struct.new(
  :encryption_type,
  :kms_key_id,
  :kms_context)
  SENSITIVE = [:kms_key_id]
  include Aws::Structure
end