{
 "additionalIdentifiers": [
  [
   "/properties/ResourceArn"
  ]
 ],
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ResourceArn"
 ],
 "definitions": {
  "PhysicalId": {
   "type": "string"
  },
  "Policy": {
   "format": "json",
   "type": [
    "object",
    "string"
   ]
  },
  "ResourceArn": {
   "maxLength": 1011,
   "minLength": 1,
   "type": "string"
  },
  "RevisionId": {
   "maxLength": 5,
   "minLength": 1,
   "pattern": "^[0-9]+$",
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Id": {
   "$ref": "#/definitions/PhysicalId"
  },
  "Policy": {
   "$ref": "#/definitions/Policy"
  },
  "ResourceArn": {
   "$ref": "#/definitions/ResourceArn"
  },
  "RevisionId": {
   "$ref": "#/definitions/RevisionId"
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/RevisionId"
 ],
 "required": [
  "Policy",
  "ResourceArn"
 ],
 "sourceUrl": "https://docs.aws.amazon.com/lexv2/latest/dg/security_iam_service-with-iam.html#security_iam_service-with-iam-resource-based-policies",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::Lex::ResourcePolicy"
}
