{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ResourceArn"
 ],
 "primaryIdentifier": [
  "/properties/ResourceArn"
 ],
 "properties": {
  "PolicyDocument": {
   "type": "object"
  },
  "ResourceArn": {
   "maxLength": 1024,
   "minLength": 12,
   "pattern": "^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?$",
   "type": "string"
  }
 },
 "required": [
  "ResourceArn",
  "PolicyDocument"
 ],
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::Lambda::ResourcePolicy"
}
