Skip to content

EncryptionConfiguration

Source code in docs_src/capo_athena/types/encryption_configuration.py
class EncryptionConfiguration(TypedDict, closed=True):
    encryption_option: "capo_athena.types.encryption_option.EncryptionOption"
    """<p>Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (<code>SSE_S3</code>), server-side encryption with KMS-managed keys (<code>SSE_KMS</code>), or client-side encryption with KMS-managed keys (<code>CSE_KMS</code>) is used.</p> <p>If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup. </p>"""
    kms_key: NotRequired["capo_athena.types.string.String"]
    """<p>For <code>SSE_KMS</code> and <code>CSE_KMS</code>, this is the KMS key ARN or ID.</p>"""

encryption_option instance-attribute

encryption_option: EncryptionOption

Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used.

If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

kms_key instance-attribute

kms_key: NotRequired[String]

For SSE_KMS and CSE_KMS, this is the KMS key ARN or ID.