IntegrationsAwsActions
Get IAM managed policy
Get one managed policy by ARN. Requires iam:GetPolicy.
iam.managed_policies.get · AWS · v1
Details
Scopes
iam:GetPolicy
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
policy_arn | string | Yes | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
policy | object | Yes | additionalProperties false |
policy.name | string | Yes | minLength 1; maxLength 128 |
policy.id | string | Yes | minLength 1; maxLength 128 |
policy.arn | string | Yes | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
policy.path | string | Yes | minLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$ |
policy.attachment_count | integer | Yes | minimum 0 |
policy.is_attachable | boolean | Yes | — |
policy.default_version_id | string | Yes | minLength 2; maxLength 32; pattern ^v[1-9][0-9]*$ |
policy.created_at | string | Yes | minLength 1; maxLength 64 |
policy.updated_at | string | Yes | minLength 1; maxLength 64 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"policy_arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
}
},
"required": [
"policy_arn"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"policy": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^/$|^/[\\x21-\\x7e]+/$"
},
"attachment_count": {
"type": "integer",
"minimum": 0
},
"is_attachable": {
"type": "boolean"
},
"default_version_id": {
"type": "string",
"minLength": 2,
"maxLength": 32,
"pattern": "^v[1-9][0-9]*$"
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"updated_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"name",
"id",
"arn",
"path",
"attachment_count",
"is_attachable",
"default_version_id",
"created_at",
"updated_at"
]
}
},
"required": [
"policy"
]
}