Class: Aws::Glacier::Types::Encryption
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::Encryption
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
Note:
When making an API call, you may pass Encryption data as a 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.
Instance Attribute Summary collapse
-
#encryption_type ⇒ String
The server-side encryption algorithm used when storing job results in Amazon S3, for example ‘AES256` or `aws:kms`.
-
#kms_context ⇒ String
Optional.
-
#kms_key_id ⇒ String
The AWS KMS key ID to use for object encryption.
Instance Attribute Details
#encryption_type ⇒ String
The server-side encryption algorithm used when storing job results in Amazon S3, for example ‘AES256` or `aws:kms`.
706 707 708 709 710 711 |
# File 'lib/aws-sdk-glacier/types.rb', line 706 class Encryption < Struct.new( :encryption_type, :kms_key_id, :kms_context) include Aws::Structure end |
#kms_context ⇒ String
Optional. If the encryption type is ‘aws:kms`, you can use this value to specify the encryption context for the job results.
706 707 708 709 710 711 |
# File 'lib/aws-sdk-glacier/types.rb', line 706 class Encryption < Struct.new( :encryption_type, :kms_key_id, :kms_context) include Aws::Structure end |
#kms_key_id ⇒ String
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.
706 707 708 709 710 711 |
# File 'lib/aws-sdk-glacier/types.rb', line 706 class Encryption < Struct.new( :encryption_type, :kms_key_id, :kms_context) include Aws::Structure end |