IntegrationsAwsActions
List managed policies attached to IAM user
List managed policies attached to a user. Inline policies are outside v1. Requires iam:ListAttachedUserPolicies.
iam.users.attached_managed_policies.list · AWS · v1
Details
Scopes
iam:ListAttachedUserPolicies
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
user_name | string | Yes | minLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$ |
path_prefix | string | No | minLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$ |
page_size | integer | No | minimum 1; maximum 1000 |
cursor | string | No | minLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$ |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
policies | array<object> | Yes | maxItems 1000 |
policies[] | object | Yes | additionalProperties false |
policies[].name | string | Yes | minLength 1; maxLength 128 |
policies[].arn | string | Yes | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
next_cursor | string | No | minLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$ |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"user_name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Za-z0-9_+=,.@-]+$"
},
"path_prefix": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^/$|^/[\\x21-\\x7e]+/$"
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"user_name"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"policies": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
}
},
"required": [
"name",
"arn"
]
},
"maxItems": 1000
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"policies"
]
}