{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-workspaces-connectionalias.json",
  "title": "AWSWorkSpacesConnectionAliasProperties",
  "description": "Resource Type definition for AWS::WorkSpaces::ConnectionAlias. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-workspaces-connectionalias.json",
    "sourceSha256": "8a01bd7178e1a6fdaf8f5bcbaec25eb641f3e8ab2266515c60520eb8fc60f244"
  },
  "type": "object",
  "properties": {
    "ConnectionString": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[.0-9a-zA-Z\\-]{1,255}$",
          "minLength": 1,
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::WorkSpaces::ConnectionAlias",
  "readOnlyProperties": [
    "/properties/ConnectionAliasState",
    "/properties/AliasId",
    "/properties/Associations"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/ConnectionString",
    "/properties/Tags"
  ],
  "required": [
    "ConnectionString"
  ],
  "$defs": {
    "ConnectionAliasAssociation": {
      "type": "object",
      "title": "AWSWorkSpacesConnectionAliasConnectionAliasAssociationDefinition",
      "properties": {
        "AssociationStatus": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "NOT_ASSOCIATED",
                "PENDING_ASSOCIATION",
                "ASSOCIATED_WITH_OWNER_ACCOUNT",
                "ASSOCIATED_WITH_SHARED_ACCOUNT",
                "PENDING_DISASSOCIATION"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AssociatedAccountId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ResourceId": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".+",
              "minLength": 1,
              "maxLength": 1000
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ConnectionIdentifier": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 20,
              "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"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSWorkSpacesConnectionAliasTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "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
    }
  },
  "primaryIdentifier": [
    "/properties/AliasId"
  ]
}
