{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-refactorspaces-environment.json",
  "title": "AWSRefactorSpacesEnvironmentProperties",
  "description": "Definition of AWS::RefactorSpaces::Environment 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-refactorspaces-environment.json",
    "sourceSha256": "2ec131e68101b57ec180005c25ff5bc73beee5be06f97e3bc7c2ec0b06285146"
  },
  "type": "object",
  "properties": {
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9-_\\s\\.\\!\\*\\#\\@\\']+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 63,
          "minLength": 3,
          "pattern": "^(?!env-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "NetworkFabricType": {
      "$ref": "#/$defs/NetworkFabricType"
    },
    "Tags": {
      "type": "array",
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair."
    }
  },
  "typeName": "AWS::RefactorSpaces::Environment",
  "taggable": true,
  "additionalProperties": false,
  "$defs": {
    "NetworkFabricType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "TRANSIT_GATEWAY",
            "NONE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSRefactorSpacesEnvironmentNetworkFabricTypeDefinition"
    },
    "Tag": {
      "description": "A label for tagging Environment resource",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^(?!aws:).+"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A string used to identify this tag"
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "A string containing the value for the tag"
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSRefactorSpacesEnvironmentTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "Name",
    "NetworkFabricType"
  ],
  "readOnlyProperties": [
    "/properties/EnvironmentIdentifier",
    "/properties/Arn",
    "/properties/TransitGatewayId"
  ],
  "writeOnlyProperties": [
    "/properties/Description",
    "/properties/Name",
    "/properties/NetworkFabricType"
  ],
  "createOnlyProperties": [
    "/properties/Description",
    "/properties/Name",
    "/properties/NetworkFabricType"
  ],
  "primaryIdentifier": [
    "/properties/EnvironmentIdentifier"
  ]
}
