Amazon IAM · Schema

Role

Role schema from AWS IAM API

Access ManagementAuthenticationAuthorizationIdentitySecurity

Properties

Name Type Description
Path string The path to the role.
RoleName string The friendly name that identifies the role.
RoleId string The stable and unique string identifying the role.
Arn string The Amazon Resource Name (ARN) specifying the role.
CreateDate string The date and time when the role was created.
AssumeRolePolicyDocument string The policy that grants an entity permission to assume the role.
Description string A description of the role.
MaxSessionDuration integer The maximum session duration (in seconds) for the specified role.
Tags array
View JSON Schema on GitHub

JSON Schema

amazon-iam-role-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam/refs/heads/main/json-schema/amazon-iam-role-schema.json",
  "title": "Role",
  "description": "Role schema from AWS IAM API",
  "type": "object",
  "properties": {
    "Path": {
      "type": "string",
      "description": "The path to the role."
    },
    "RoleName": {
      "type": "string",
      "description": "The friendly name that identifies the role."
    },
    "RoleId": {
      "type": "string",
      "description": "The stable and unique string identifying the role."
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) specifying the role."
    },
    "CreateDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time when the role was created."
    },
    "AssumeRolePolicyDocument": {
      "type": "string",
      "description": "The policy that grants an entity permission to assume the role."
    },
    "Description": {
      "type": "string",
      "description": "A description of the role."
    },
    "MaxSessionDuration": {
      "type": "integer",
      "description": "The maximum session duration (in seconds) for the specified role."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Tag"
      }
    }
  },
  "required": [
    "RoleName",
    "RoleId",
    "Arn",
    "CreateDate",
    "AssumeRolePolicyDocument"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-iam-role"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.