Amazon IAM · JSON Structure

Amazon Iam Policy Structure

Policy schema from AWS IAM API

Type: object Properties: 10 Required: 4
Access ManagementAuthenticationAuthorizationIdentitySecurity

Policy is a JSON Structure definition published by Amazon IAM, describing 10 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PolicyName PolicyId Arn Path DefaultVersionId AttachmentCount IsAttachable Description CreateDate UpdateDate

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam/refs/heads/main/json-structure/amazon-iam-policy-structure.json",
  "name": "Policy",
  "description": "Policy schema from AWS IAM API",
  "type": "object",
  "properties": {
    "PolicyName": {
      "type": "string",
      "description": "The friendly name identifying the policy."
    },
    "PolicyId": {
      "type": "string",
      "description": "The stable and unique string identifying the policy."
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the policy."
    },
    "Path": {
      "type": "string",
      "description": "The path to the policy."
    },
    "DefaultVersionId": {
      "type": "string",
      "description": "The identifier for the version of the policy that is the default."
    },
    "AttachmentCount": {
      "type": "int32",
      "description": "The number of entities the policy is attached to."
    },
    "IsAttachable": {
      "type": "boolean",
      "description": "Specifies whether the policy can be attached."
    },
    "Description": {
      "type": "string",
      "description": "A description of the policy."
    },
    "CreateDate": {
      "type": "datetime",
      "description": "The date and time when the policy was created."
    },
    "UpdateDate": {
      "type": "datetime",
      "description": "The date and time when the policy was last updated."
    }
  },
  "required": [
    "PolicyName",
    "PolicyId",
    "Arn",
    "CreateDate"
  ]
}