{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-connect-approvedorigin.json",
  "title": "AWSConnectApprovedOriginProperties",
  "description": "Resource Type definition for AWS::Connect::ApprovedOrigin. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-connect-approvedorigin.json",
    "sourceSha256": "38db5ce506fb95676d3c87729e704a03c141682b5181d7763da1405c11cf6704"
  },
  "type": "object",
  "properties": {
    "Origin": {
      "$ref": "#/$defs/Origin"
    },
    "InstanceId": {
      "$ref": "#/$defs/InstanceId"
    }
  },
  "typeName": "AWS::Connect::ApprovedOrigin",
  "primaryIdentifier": [
    "/properties/InstanceId",
    "/properties/Origin"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/InstanceId",
    "/properties/Origin"
  ],
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "$defs": {
    "Origin": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 267
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Domain name to be added to the allowlist of instance",
      "title": "AWSConnectApprovedOriginOriginDefinition"
    },
    "InstanceId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$",
          "minLength": 1,
          "maxLength": 100
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Amazon Connect instance identifier",
      "title": "AWSConnectApprovedOriginInstanceIdDefinition"
    }
  },
  "required": [
    "Origin",
    "InstanceId"
  ]
}
