Skip to content

EncryptionConfig

Source code in docs_src/capo_context/types/encryption_config.py
class EncryptionConfig(TypedDict, closed=True):
    encryption_mode: "capo_context.types.encryption_mode.EncryptionMode"
    """<p>How the agent context's stored data is encrypted. Always present on the resource.</p> <p>Valid values:</p> <ul> <li> <p> <code>AWS_OWNED</code> - Encrypted with an AWS owned key.</p> </li> <li> <p> <code>CUSTOMER_MANAGED</code> - Encrypted with the AWS KMS customer managed key that <code>keyArn</code> specifies.</p> </li> </ul>"""
    key_arn: NotRequired["capo_context.types.arn_string.ArnString"]
    """<p>The ARN of the AWS KMS customer managed key that encrypts the agent context when <code>encryptionMode</code> is <code>CUSTOMER_MANAGED</code>. Absent for <code>AWS_OWNED</code>.</p>"""

encryption_mode instance-attribute

encryption_mode: EncryptionMode

How the agent context's stored data is encrypted. Always present on the resource.

Valid values:

  • AWS_OWNED - Encrypted with an AWS owned key.

  • CUSTOMER_MANAGED - Encrypted with the AWS KMS customer managed key that keyArn specifies.

key_arn instance-attribute

key_arn: NotRequired[ArnString]

The ARN of the AWS KMS customer managed key that encrypts the agent context when encryptionMode is CUSTOMER_MANAGED. Absent for AWS_OWNED.