{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ManagedPolicyDetail",
  "title": "ManagedPolicyDetail",
  "type": "object",
  "properties": {
    "PolicyName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/policyNameType"
        },
        {
          "description": "The friendly name (not ARN) identifying the policy."
        }
      ]
    },
    "PolicyId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/idType"
        },
        {
          "description": "<p>The stable and unique string identifying the policy.</p> <p>For more information about IDs, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html\">IAM identifiers</a> in the <i>IAM User Guide</i>.</p>"
        }
      ]
    },
    "Arn": {
      "$ref": "#/components/schemas/arnType"
    },
    "Path": {
      "allOf": [
        {
          "$ref": "#/components/schemas/policyPathType"
        },
        {
          "description": "<p>The path to the policy.</p> <p>For more information about paths, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html\">IAM identifiers</a> in the <i>IAM User Guide</i>.</p>"
        }
      ]
    },
    "DefaultVersionId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/policyVersionIdType"
        },
        {
          "description": "<p>The identifier for the version of the policy that is set as the default (operative) version.</p> <p>For more information about policy versions, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html\">Versioning for managed policies</a> in the <i>IAM User Guide</i>. </p>"
        }
      ]
    },
    "AttachmentCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/attachmentCountType"
        },
        {
          "description": "The number of principal entities (users, groups, and roles) that the policy is attached to."
        }
      ]
    },
    "PermissionsBoundaryUsageCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/attachmentCountType"
        },
        {
          "description": "<p>The number of entities (users and roles) for which the policy is used as the permissions boundary. </p> <p>For more information about permissions boundaries, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html\">Permissions boundaries for IAM identities </a> in the <i>IAM User Guide</i>.</p>"
        }
      ]
    },
    "IsAttachable": {
      "allOf": [
        {
          "$ref": "#/components/schemas/booleanType"
        },
        {
          "description": "Specifies whether the policy can be attached to an IAM user, group, or role."
        }
      ]
    },
    "Description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/policyDescriptionType"
        },
        {
          "description": "A friendly description of the policy."
        }
      ]
    },
    "CreateDate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/dateType"
        },
        {
          "description": "The date and time, in <a href=\"http://www.iso.org/iso/iso8601\">ISO 8601 date-time format</a>, when the policy was created."
        }
      ]
    },
    "UpdateDate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/dateType"
        },
        {
          "description": "<p>The date and time, in <a href=\"http://www.iso.org/iso/iso8601\">ISO 8601 date-time format</a>, when the policy was last updated.</p> <p>When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.</p>"
        }
      ]
    },
    "PolicyVersionList": {
      "allOf": [
        {
          "$ref": "#/components/schemas/policyDocumentVersionListType"
        },
        {
          "description": "A list containing information about the versions of the policy."
        }
      ]
    }
  },
  "description": "<p>Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.</p> <p>This data type is used as a response element in the <a>GetAccountAuthorizationDetails</a> operation.</p> <p>For more information about managed policies, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html\">Managed policies and inline policies</a> in the <i>IAM User Guide</i>. </p>"
}