class Aws::S3::Types::Encryption

Contains the type of server-side encryption used.

@note 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",
    }

@!attribute [rw] encryption_type

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

@!attribute [rw] kms_key_id

If the encryption type is `aws:kms`, this optional value specifies
the ID of the symmetric customer managed Amazon Web Services KMS CMK
to use for encryption of job results. Amazon S3 only supports
symmetric CMKs. For more information, see [Using symmetric and
asymmetric keys][1] in the *Amazon Web Services Key Management
Service Developer Guide*.

[1]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
@return [String]

@!attribute [rw] kms_context

If the encryption type is `aws:kms`, this optional value can be used
to specify the encryption context for the restore results.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Encryption AWS API Documentation

Constants

SENSITIVE