{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-logs-resourcepolicy.json",
  "title": "AWSLogsResourcePolicyProperties",
  "description": "The resource schema for AWSLogs ResourcePolicy. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-logs-resourcepolicy.json",
    "sourceSha256": "fa6d1cc9c1fa799ba901f6622678bf0c8b85e0246621c4624095e6e4dbacddd5"
  },
  "type": "object",
  "properties": {
    "PolicyName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^([^:*\\/]+\\/?)*[^:*\\/]+$",
          "minLength": 1,
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A name for resource policy"
    },
    "PolicyDocument": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+",
          "minLength": 1,
          "maxLength": 5120
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The policy document"
    }
  },
  "typeName": "AWS::Logs::ResourcePolicy",
  "required": [
    "PolicyName",
    "PolicyDocument"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs.git",
  "createOnlyProperties": [
    "/properties/PolicyName"
  ],
  "additionalProperties": false,
  "taggable": false,
  "primaryIdentifier": [
    "/properties/PolicyName"
  ]
}
