IntegrationsAwsActions
Get IAM managed policy version
Get one managed policy version document by ARN and version id. Requires iam:GetPolicyVersion.
iam.managed_policy_versions.get · AWS · v1
Details
Scopes
iam:GetPolicyVersion
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
policy_arn | string | Yes | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
version_id | string | Yes | minLength 2; maxLength 32; pattern ^v[1-9][0-9]*$ |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
version | object | Yes | additionalProperties false |
version.id | string | Yes | minLength 2; maxLength 32; pattern ^v[1-9][0-9]*$ |
version.is_default | boolean | Yes | — |
version.created_at | string | Yes | minLength 1; maxLength 64 |
version.document | string | Yes | minLength 2; maxLength 131072 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"policy_arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
},
"version_id": {
"type": "string",
"minLength": 2,
"maxLength": 32,
"pattern": "^v[1-9][0-9]*$"
}
},
"required": [
"policy_arn",
"version_id"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 2,
"maxLength": 32,
"pattern": "^v[1-9][0-9]*$"
},
"is_default": {
"type": "boolean"
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"document": {
"type": "string",
"minLength": 2,
"maxLength": 131072
}
},
"required": [
"id",
"is_default",
"created_at",
"document"
]
}
},
"required": [
"version"
]
}