Class: Aws::S3::Types::Encryption
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::Encryption
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
When making an API call, you may pass Encryption data as a hash:
{
encryption_type: "AES256", # required, accepts AES256, aws:kms
kms_key_id: "SSEKMSKeyId",
kms_context: "KMSContext",
}
Describes the server-side encryption that will be applied to the restore results.
Instance Attribute Summary collapse
-
#encryption_type ⇒ String
The server-side encryption algorithm used when storing job results in Amazon S3 (e.g., AES256, aws:kms).
-
#kms_context ⇒ String
If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the restore results.
-
#kms_key_id ⇒ String
If the encryption type is aws:kms, this optional value specifies the AWS KMS key ID to use for encryption of job results.
Instance Attribute Details
#encryption_type ⇒ String
The server-side encryption algorithm used when storing job results in Amazon S3 (e.g., AES256, aws:kms).
2270 2271 2272 2273 2274 2275 |
# File 'lib/aws-sdk-s3/types.rb', line 2270 class Encryption < Struct.new( :encryption_type, :kms_key_id, :kms_context) include Aws::Structure end |
#kms_context ⇒ String
If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the restore results.
2270 2271 2272 2273 2274 2275 |
# File 'lib/aws-sdk-s3/types.rb', line 2270 class Encryption < Struct.new( :encryption_type, :kms_key_id, :kms_context) include Aws::Structure end |
#kms_key_id ⇒ String
If the encryption type is aws:kms, this optional value specifies the AWS KMS key ID to use for encryption of job results.
2270 2271 2272 2273 2274 2275 |
# File 'lib/aws-sdk-s3/types.rb', line 2270 class Encryption < Struct.new( :encryption_type, :kms_key_id, :kms_context) include Aws::Structure end |