Evaluation
¶
Source code in docs_src/capo_iam_toolbox/types/evaluation.py
action
instance-attribute
¶
action: str
The action evaluated for this request (for example, iam:PassRole).
context
instance-attribute
¶
context: NotRequired[AuthorizationContext]
The context keys and values specific to this evaluation. These are applied on top of the request context.
evaluated_effect
instance-attribute
¶
evaluated_effect: NotRequired[EvaluatedEffect]
The result of the evaluation. Valid values:
-
ALLOW- The action was allowed. -
EXPLICIT_DENY- The action was explicitly denied by a policy. -
IMPLICIT_DENY- The action was denied because no policy allowed it.
matched_policies
instance-attribute
¶
matched_policies: NotRequired[MatchedPolicyList]
The policies that matched during evaluation of this action and resource. An implicit denial produces no matched policies.