{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-opensearchserverless-securityconfig.json",
  "title": "AWSOpenSearchServerlessSecurityConfigProperties",
  "description": "Amazon OpenSearchServerless security config 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-securityconfig.json",
    "sourceSha256": "16153ed32a0b4f6491ab723b82c1ccd20824569a16b050f662dd283697fa9ce5"
  },
  "type": "object",
  "properties": {
    "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": "Security config description"
    },
    "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 friendly name of the security config"
    },
    "SamlOptions": {
      "$ref": "#/$defs/SamlConfigOptions"
    },
    "Type": {
      "$ref": "#/$defs/SecurityConfigType"
    }
  },
  "typeName": "AWS::OpenSearchServerless::SecurityConfig",
  "$defs": {
    "SamlConfigOptions": {
      "type": "object",
      "description": "Describes saml options in form of key value map",
      "properties": {
        "Metadata": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 20480,
              "minLength": 1,
              "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 XML saml provider metadata document that you want to use"
        },
        "UserAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048,
              "minLength": 1,
              "pattern": "[\\w+=,.@-]+"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Custom attribute for this saml integration"
        },
        "GroupAttribute": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048,
              "minLength": 1,
              "pattern": "[\\w+=,.@-]+"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Group attribute for this saml integration"
        },
        "SessionTimeout": {
          "type": "integer",
          "description": "Defines the session timeout in minutes"
        }
      },
      "required": [
        "Metadata"
      ],
      "title": "AWSOpenSearchServerlessSecurityConfigSamlConfigOptionsDefinition",
      "additionalProperties": false
    },
    "SecurityConfigType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "saml"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Config type for security config",
      "title": "AWSOpenSearchServerlessSecurityConfigSecurityConfigTypeDefinition"
    }
  },
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "additionalProperties": false,
  "additionalIdentifiers": [
    [
      "/properties/Name"
    ]
  ],
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "writeOnlyProperties": [
    "/properties/Name"
  ],
  "createOnlyProperties": [
    "/properties/Type",
    "/properties/Name"
  ],
  "primaryIdentifier": [
    "/properties/Id"
  ]
}
