{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-backupgateway-hypervisor.json",
  "title": "AWSBackupGatewayHypervisorProperties",
  "description": "Definition of AWS::BackupGateway::Hypervisor Resource Type. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-backupgateway-hypervisor.json",
    "sourceSha256": "ced471d4cd7c7f719bac8a2a765cb7380d4737dbc476c614ffa073b57e942f9e"
  },
  "type": "object",
  "properties": {
    "Host": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 3,
          "pattern": "^.+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "KmsKeyArn": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 500,
          "minLength": 50,
          "pattern": "^(^arn:(aws|aws-cn|aws-us-gov):kms:([a-zA-Z0-9-]+):([0-9]+):(key|alias)/(\\S+)$)|(^alias/(\\S+)$)$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "LogGroupArn": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "minLength": 0,
          "pattern": "^$|^arn:(aws|aws-cn|aws-us-gov):logs:([a-zA-Z0-9-]+):([0-9]+):log-group:[a-zA-Z0-9_\\-\\/\\.]+:\\*$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9-]*$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Password": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[ -~]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Username": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[ -\\.0-\\[\\]-~]*[!-\\.0-\\[\\]-~][ -\\.0-\\[\\]-~]*$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::BackupGateway::Hypervisor",
  "$defs": {
    "HypervisorState": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "PENDING",
            "ONLINE",
            "OFFLINE",
            "ERROR"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSBackupGatewayHypervisorHypervisorStateDefinition"
    },
    "SyncMetadataStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "PENDING",
            "IN_PROGRESS",
            "FAILED",
            "SUCCEEDED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSBackupGatewayHypervisorSyncMetadataStatusDefinition"
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1,
              "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 0,
              "pattern": "^[^\\x00]*$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSBackupGatewayHypervisorTagDefinition",
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": false,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "readOnlyProperties": [
    "/properties/HypervisorArn"
  ],
  "writeOnlyProperties": [
    "/properties/KmsKeyArn",
    "/properties/LogGroupArn",
    "/properties/Name",
    "/properties/Password",
    "/properties/Tags",
    "/properties/Username"
  ],
  "createOnlyProperties": [
    "/properties/KmsKeyArn",
    "/properties/Tags"
  ],
  "primaryIdentifier": [
    "/properties/HypervisorArn"
  ]
}
