{
 "additionalProperties": false,
 "definitions": {
  "MultitrackInputConfiguration": {
   "additionalProperties": false,
   "properties": {
    "Enabled": {
     "default": false,
     "type": "boolean"
    },
    "MaximumResolution": {
     "enum": [
      "SD",
      "HD",
      "FULL_HD"
     ],
     "type": "string"
    },
    "Policy": {
     "enum": [
      "ALLOW",
      "REQUIRE"
     ],
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "maxLength": 128,
   "minLength": 1,
   "pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$",
   "type": "string"
  },
  "Authorized": {
   "default": false,
   "type": "boolean"
  },
  "ContainerFormat": {
   "default": "TS",
   "enum": [
    "TS",
    "FRAGMENTED_MP4"
   ],
   "type": "string"
  },
  "IngestEndpoint": {
   "type": "string"
  },
  "InsecureIngest": {
   "default": false,
   "type": "boolean"
  },
  "LatencyMode": {
   "default": "LOW",
   "enum": [
    "NORMAL",
    "LOW"
   ],
   "type": "string"
  },
  "MultitrackInputConfiguration": {
   "$ref": "#/definitions/MultitrackInputConfiguration"
  },
  "Name": {
   "default": "-",
   "maxLength": 128,
   "minLength": 0,
   "pattern": "^[a-zA-Z0-9-_]*$",
   "type": "string"
  },
  "PlaybackUrl": {
   "type": "string"
  },
  "Preset": {
   "enum": [
    "",
    "HIGHER_BANDWIDTH_DELIVERY",
    "CONSTRAINED_BANDWIDTH_DELIVERY"
   ],
   "type": "string"
  },
  "RecordingConfigurationArn": {
   "default": "",
   "maxLength": 128,
   "minLength": 0,
   "pattern": "^$|arn:aws:ivs:[a-z0-9-]+:[0-9]+:recording-configuration/[a-zA-Z0-9-]+$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array",
   "uniqueItems": true
  },
  "Type": {
   "default": "STANDARD",
   "enum": [
    "STANDARD",
    "BASIC",
    "ADVANCED_SD",
    "ADVANCED_HD"
   ],
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/PlaybackUrl",
  "/properties/IngestEndpoint"
 ],
 "required": [],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::IVS::Channel"
}
