Skip to content

S3  >  Dictionaries  >  EncryptionDict

EncryptionDict

Dictionary Type

EncryptionDict

Bases: TypedDict

Dictionary form of Encryption.

Attributes

encryption_type instance-attribute
encryption_type: Required[str]

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

kms_context instance-attribute
kms_context: str | None

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 instance-attribute
kms_key_id: str | None

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.