Oracle Cloud Infrastructure · JSON Structure

Iam Policy Structure

An IAM policy with authorization statements.

Type: object Properties: 7
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Policy is a JSON Structure definition published by Oracle Cloud Infrastructure, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id compartmentId name description statements lifecycleState timeCreated

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/oracle-cloud/refs/heads/main/json-structure/iam-policy-structure.json",
  "name": "Policy",
  "description": "An IAM policy with authorization statements.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "compartmentId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "name": {
      "type": "string",
      "example": "AllowAdmins"
    },
    "description": {
      "type": "string",
      "example": "example-value"
    },
    "statements": {
      "type": "array",
      "example": "['Allow group Administrators to manage all-resources in tenancy']",
      "items": {
        "type": "string"
      }
    },
    "lifecycleState": {
      "type": "string",
      "enum": "['CREATING', 'ACTIVE', 'INACTIVE', 'DELETING', 'DELETED']",
      "example": "CREATING"
    },
    "timeCreated": {
      "type": "datetime",
      "example": "2026-04-18T10:30:00Z"
    }
  }
}