{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-opensearchserverless-accesspolicy.json",
  "title": "AWSOpenSearchServerlessAccessPolicyProperties",
  "description": "Amazon OpenSearchServerless access policy resource. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-opensearchserverless-accesspolicy.json",
    "sourceSha256": "539926e47dee9f828b26fd819c168b476d443913bf368475e57816d6f136089c"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 32,
          "minLength": 3,
          "pattern": "^[a-z][a-z0-9-]{2,31}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the policy"
    },
    "Type": {
      "$ref": "#/$defs/AccessPolicyType"
    },
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 1000,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The description of the policy"
    },
    "Policy": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 20480,
          "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The JSON policy document that is the content for the policy"
    }
  },
  "typeName": "AWS::OpenSearchServerless::AccessPolicy",
  "$defs": {
    "AccessPolicyType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "data"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The possible types for the access policy",
      "title": "AWSOpenSearchServerlessAccessPolicyAccessPolicyTypeDefinition"
    }
  },
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Type",
    "/properties/Name"
  ],
  "required": [
    "Type",
    "Name",
    "Policy"
  ],
  "createOnlyProperties": [
    "/properties/Type",
    "/properties/Name"
  ]
}
