{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ivs-channel.json",
  "title": "AWSIVSChannelProperties",
  "description": "Resource Type definition for AWS::IVS::Channel. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ivs-channel.json",
    "sourceSha256": "4863bdbdf5b0d1eed4884dbde220e2e4fd977c096ad506374b7d81ec37ccb6a2"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 128,
          "pattern": "^[a-zA-Z0-9-_]*$",
          "default": "-"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Channel"
    },
    "Authorized": {
      "description": "Whether the channel is authorized.",
      "type": "boolean",
      "default": false
    },
    "InsecureIngest": {
      "description": "Whether the channel allows insecure ingest.",
      "type": "boolean",
      "default": false
    },
    "LatencyMode": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "NORMAL",
            "LOW"
          ],
          "default": "LOW"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Channel latency mode."
    },
    "Type": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "STANDARD",
            "BASIC"
          ],
          "default": "STANDARD"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately."
    },
    "Tags": {
      "description": "A list of key-value pairs that contain metadata for the asset model.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "maxItems": 50,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "RecordingConfigurationArn": {
      "oneOf": [
        {
          "type": "string",
          "default": "",
          "pattern": "^$|arn:aws:ivs:[a-z0-9-]+:[0-9]+:recording-configuration/[a-zA-Z0-9-]+$",
          "minLength": 0,
          "maxLength": 128
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: \"\" (recording is disabled)."
    }
  },
  "typeName": "AWS::IVS::Channel",
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/PlaybackUrl",
    "/properties/IngestEndpoint"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "title": "AWSIVSChannelTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "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": 1,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "required": []
}
