{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-msk-serverlesscluster.json",
  "title": "AWSMSKServerlessClusterProperties",
  "description": "Resource Type definition for AWS::MSK::ServerlessCluster. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-msk-serverlesscluster.json",
    "sourceSha256": "b3af37f3d9adf89641d8b25bbb1942f4fdebd24c878a6b1409a883749232416c"
  },
  "type": "object",
  "properties": {
    "ClusterName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "VpcConfigs": {
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/VpcConfig"
      }
    },
    "ClientAuthentication": {
      "$ref": "#/$defs/ClientAuthentication"
    },
    "Tags": {
      "type": "object",
      "description": "A key-value pair to associate with a resource.",
      "additionalProperties": false,
      "patternProperties": {
        "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": {
          "type": "string"
        }
      }
    }
  },
  "typeName": "AWS::MSK::ServerlessCluster",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": false,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "$defs": {
    "VpcConfig": {
      "type": "object",
      "title": "AWSMSKServerlessClusterVpcConfigDefinition",
      "properties": {
        "SecurityGroups": {
          "type": "array",
          "uniqueItems": true,
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        },
        "SubnetIds": {
          "type": "array",
          "uniqueItems": true,
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "SubnetIds"
      ],
      "additionalProperties": false
    },
    "ClientAuthentication": {
      "type": "object",
      "properties": {
        "Sasl": {
          "$ref": "#/$defs/Sasl"
        }
      },
      "title": "AWSMSKServerlessClusterClientAuthenticationDefinition",
      "required": [
        "Sasl"
      ],
      "additionalProperties": false
    },
    "Sasl": {
      "type": "object",
      "title": "AWSMSKServerlessClusterSaslDefinition",
      "properties": {
        "Iam": {
          "$ref": "#/$defs/Iam"
        }
      },
      "required": [
        "Iam"
      ],
      "additionalProperties": false
    },
    "Iam": {
      "type": "object",
      "title": "AWSMSKServerlessClusterIamDefinition",
      "properties": {
        "Enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "Enabled"
      ],
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "additionalProperties": false,
  "required": [
    "ClusterName",
    "VpcConfigs",
    "ClientAuthentication"
  ],
  "createOnlyProperties": [
    "/properties/ClusterName",
    "/properties/VpcConfigs",
    "/properties/ClientAuthentication",
    "/properties/Tags"
  ],
  "primaryIdentifier": [
    "/properties/Arn"
  ]
}
