{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-customerprofiles-eventstream.json",
  "title": "AWSCustomerProfilesEventStreamProperties",
  "description": "An Event Stream resource of Amazon Connect Customer Profiles. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-customer-profiles>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-customerprofiles-eventstream.json",
    "sourceSha256": "25fb5a56d9b42a255be19309238f4ea31167f3f856ed239309b60730ab43da00"
  },
  "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."
    },
    "EventStreamName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]+$",
          "minLength": 1,
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the event stream."
    },
    "Uri": {
      "$ref": "#/$defs/Uri"
    },
    "Tags": {
      "description": "The tags used to organize, track, or control access for this resource.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "minItems": 0,
      "maxItems": 50
    }
  },
  "typeName": "AWS::CustomerProfiles::EventStream",
  "primaryIdentifier": [
    "/properties/DomainName",
    "/properties/EventStreamName"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-customer-profiles",
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/DestinationDetails",
    "/properties/CreatedAt",
    "/properties/State",
    "/properties/EventStreamArn"
  ],
  "$defs": {
    "Uri": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name",
      "title": "AWSCustomerProfilesEventStreamUriDefinition"
    },
    "Status": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "HEALTHY",
            "UNHEALTHY"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The status of enabling the Kinesis stream as a destination for export.",
      "title": "AWSCustomerProfilesEventStreamStatusDefinition"
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "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"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        },
        "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": "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSCustomerProfilesEventStreamTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "DomainName",
    "EventStreamName",
    "Uri"
  ],
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "createOnlyProperties": [
    "/properties/DomainName",
    "/properties/EventStreamName",
    "/properties/Uri"
  ]
}
