{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-appmesh-mesh.json",
  "title": "AWSAppMeshMeshProperties",
  "description": "Resource Type definition for AWS::AppMesh::Mesh. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-appmesh-mesh.json",
    "sourceSha256": "f958395eca7070e700e06cfe690a091cc20f924ff04433d15de3bed5be4d8a39"
  },
  "type": "object",
  "properties": {
    "MeshName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Spec": {
      "$ref": "#/$defs/MeshSpec"
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::AppMesh::Mesh",
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/ResourceOwner",
    "/properties/MeshOwner",
    "/properties/Arn",
    "/properties/Uid"
  ],
  "$defs": {
    "MeshSpec": {
      "type": "object",
      "title": "AWSAppMeshMeshMeshSpecDefinition",
      "properties": {
        "EgressFilter": {
          "$ref": "#/$defs/EgressFilter"
        },
        "ServiceDiscovery": {
          "$ref": "#/$defs/MeshServiceDiscovery"
        }
      },
      "additionalProperties": false
    },
    "EgressFilter": {
      "type": "object",
      "title": "AWSAppMeshMeshEgressFilterDefinition",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Type"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSAppMeshMeshTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    },
    "MeshServiceDiscovery": {
      "type": "object",
      "title": "AWSAppMeshMeshMeshServiceDiscoveryDefinition",
      "properties": {
        "IpPreference": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/MeshName"
  ]
}
