MatchedPolicy - IAM Toolbox
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: