{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-customerprofiles-domain.json",
  "title": "AWSCustomerProfilesDomainProperties",
  "description": "A domain defined for 3rd party data source in Profile Service. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-customer-profiles.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-customerprofiles-domain.json",
    "sourceSha256": "cbb4317e5e7965a2a931b354c6b00a20f0320d5a451067374ed56971c4706413"
  },
  "type": "object",
  "properties": {
    "DomainName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]+$",
          "minLength": 1,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The unique name of the domain."
    },
    "DeadLetterQueueUrl": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The URL of the SQS dead letter queue"
    },
    "DefaultEncryptionKey": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The default encryption key"
    },
    "DefaultExpirationDays": {
      "description": "The default number of days until the data within the domain expires.",
      "type": "integer",
      "minimum": 1,
      "maximum": 1098
    },
    "Tags": {
      "description": "The tags (keys and values) associated with the domain",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "minItems": 0,
      "maxItems": 50
    }
  },
  "typeName": "AWS::CustomerProfiles::Domain",
  "primaryIdentifier": [
    "/properties/DomainName"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-customer-profiles.git",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/DomainName"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "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"
            }
          ]
        }
      },
      "title": "AWSCustomerProfilesDomainTagDefinition",
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "DomainName"
  ],
  "readOnlyProperties": [
    "/properties/LastUpdatedAt",
    "/properties/CreatedAt"
  ]
}
