AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Glacier::Types::Encryption

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Encryption as input to an Aws::Client method, you can use a vanilla Hash:

{
  encryption_type: "aws:kms", # accepts aws:kms, AES256
  kms_key_id: "string",
  kms_context: "string",
}

Contains information about the encryption used to store the job results in Amazon S3.

Returned by:

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 or aws:kms.

Possible values:

  • aws:kms
  • AES256

Returns:

  • (String)

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

#kms_contextString

Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

Returns:

  • (String)

    Optional.

#kms_key_idString

The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

Returns:

  • (String)

    The AWS KMS key ID to use for object encryption.