iam_policy_entities_list
Lists the users, groups, and roles attached to a managed IAM policy, with optional entity-type filtering and pagination for auditing policy assignments.
Instructions
List the users, groups and roles a managed policy is attached to, optionally only one kind. Each item has type, name and ID; plus pagination.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"policy_arn": "<policy_arn>"
},
"name": "iam_policy_entities_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_items | No | ||
| policy_arn | Yes | ||
| entity_filter | No | ||
| continuation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||