View a markdown version of this page

MatchedPolicy - IAM Toolbox

MatchedPolicy

A policy that matched during evaluation, referenced by URI. The URI corresponds to a policy in the top-level policies list.

Contents

uri

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.

Type: String

Required: Yes

matchedStatements

The statements within the policy that matched during the evaluation.

Type: Array of MatchedStatement objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: