Skip to content

GetKeyPolicyResponse

Source code in docs_src/capo_kms/types/get_key_policy_response.py
class GetKeyPolicyResponse(TypedDict, closed=True):
    policy: NotRequired["capo_kms.types.policy_type.PolicyType"]
    """<p>A key policy document in JSON format.</p>"""
    policy_name: NotRequired["capo_kms.types.policy_name_type.PolicyNameType"]
    """<p>The name of the key policy. Valid values are:</p> <dl> <dt>default</dt> <dd> <p>The key policy that you manage.</p> </dd> <dt>AWS_RAM</dt> <dd> <p>The key policy that RAM manages for KMS keys that you share through RAM.</p> </dd> </dl>"""

policy instance-attribute

policy: NotRequired[PolicyType]

A key policy document in JSON format.

policy_name instance-attribute

policy_name: NotRequired[PolicyNameType]

The name of the key policy. Valid values are:

default

The key policy that you manage.

AWS_RAM

The key policy that RAM manages for KMS keys that you share through RAM.