{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iottwinmaker-workspace.json",
  "title": "AWSIoTTwinMakerWorkspaceProperties",
  "description": "Resource schema for AWS::IoTTwinMaker::Workspace. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-iottwinmaker-workspace.json",
    "sourceSha256": "f03bee5546d85d487c3905a7530854136bf01b3f71dd0c9618838dd7f80a5bcb"
  },
  "type": "object",
  "properties": {
    "WorkspaceId": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "[a-zA-Z_0-9][a-zA-Z_\\-0-9]*[a-zA-Z0-9]+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the workspace."
    },
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 512
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The description of the workspace."
    },
    "Role": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 20,
          "maxLength": 2048,
          "pattern": "arn:((aws)|(aws-cn)|(aws-us-gov)):iam::[0-9]{12}:role/.*"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of the execution role associated with the workspace."
    },
    "S3Location": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of the S3 bucket where resources associated with the workspace are stored."
    },
    "Tags": {
      "type": "object",
      "description": "A map of key-value pairs to associate with a resource.",
      "additionalProperties": false,
      "maxProperties": 50,
      "patternProperties": {
        "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      }
    }
  },
  "typeName": "AWS::IoTTwinMaker::Workspace",
  "primaryIdentifier": [
    "/properties/WorkspaceId"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/WorkspaceId"
  ],
  "$defs": {
    "DateTimeFormat": {
      "oneOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSIoTTwinMakerWorkspaceDateTimeFormatDefinition"
    }
  },
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "required": [
    "WorkspaceId",
    "Role",
    "S3Location"
  ],
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/CreationDateTime",
    "/properties/UpdateDateTime"
  ]
}
