aws_iam_list_roles
Retrieve and filter IAM roles in your AWS account to manage access permissions and audit security configurations.
Instructions
List IAM roles in the AWS account with optional path prefix filter.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | AWS profile name from ~/.aws/config (e.g., 'default', 'production') | |
| region | No | AWS region override (e.g., 'us-east-1', 'sa-east-1') | |
| path_prefix | No | IAM path prefix filter (default: '/') | |
| max_items | No | Maximum number of roles to return |