Skip to content

MatchedPolicy

Source code in docs_src/capo_iam_toolbox/types/matched_policy.py
class MatchedPolicy(TypedDict, closed=True):
    uri: "str"
    """<p>The URI of the policy. This cross-references an entry in the top-level policies list. The value depends on the policy type:</p> <ul> <li> <p>For managed policies, this is the policy ARN.</p> </li> <li> <p>For inline policies, this is an opaque identifier.</p> </li> </ul>"""
    matched_statements: NotRequired[
        "capo_iam_toolbox.types.matched_statement_list.MatchedStatementList"
    ]
    """<p>The statements within the policy that matched during the evaluation.</p>"""

matched_statements instance-attribute

matched_statements: NotRequired[MatchedStatementList]

The statements within the policy that matched during the evaluation.

uri instance-attribute

uri: str

The URI of the policy. This cross-references an entry in the top-level policies list. The value depends on the policy type:

  • For managed policies, this is the policy ARN.

  • For inline policies, this is an opaque identifier.