Skip to main content
FuseFuse
IntegrationsAwsActions

Get IAM managed policy

Get one managed policy by ARN. Requires iam:GetPolicy.

Agent markdown

iam.managed_policies.get · AWS · v1

Details

Risk
Read
Idempotency
Safe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=true, destructive=false, idempotent=true, openWorld=true

Scopes

  • iam:GetPolicy

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
policy_arnstringYesminLength 20; maxLength 2048; pattern ^arn:aws:.+$

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
policyobjectYesadditionalProperties false
policy.namestringYesminLength 1; maxLength 128
policy.idstringYesminLength 1; maxLength 128
policy.arnstringYesminLength 20; maxLength 2048; pattern ^arn:aws:.+$
policy.pathstringYesminLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$
policy.attachment_countintegerYesminimum 0
policy.is_attachablebooleanYes
policy.default_version_idstringYesminLength 2; maxLength 32; pattern ^v[1-9][0-9]*$
policy.created_atstringYesminLength 1; maxLength 64
policy.updated_atstringYesminLength 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"
  ]
}